don't check it is the latest update
This commit is contained in:
@@ -76,7 +76,7 @@ export function useApplyPullRequestOTAUpdate() {
|
||||
setPending(true)
|
||||
await setExtraParamsPullRequest(channel)
|
||||
const res = await checkForUpdateAsync()
|
||||
if (res.isAvailable) {
|
||||
if (res.manifest) {
|
||||
Alert.alert(
|
||||
'Deployment Available',
|
||||
`A deployment of ${channel} is availalble. Applying this deployment may result in a bricked installation, in which case you will need to reinstall the app and may lose local data. Are you sure you want to proceed?`,
|
||||
@@ -98,7 +98,7 @@ export function useApplyPullRequestOTAUpdate() {
|
||||
} else {
|
||||
Alert.alert(
|
||||
'No Deployment Available',
|
||||
`No new deployments of ${channel} are currently available for your current native build.`,
|
||||
`No deployments of ${channel} are currently available for your current native build.`,
|
||||
)
|
||||
}
|
||||
setPending(false)
|
||||
|
||||
Reference in New Issue
Block a user