don't check it is the latest update
This commit is contained in:
@@ -76,7 +76,7 @@ export function useApplyPullRequestOTAUpdate() {
|
|||||||
setPending(true)
|
setPending(true)
|
||||||
await setExtraParamsPullRequest(channel)
|
await setExtraParamsPullRequest(channel)
|
||||||
const res = await checkForUpdateAsync()
|
const res = await checkForUpdateAsync()
|
||||||
if (res.isAvailable) {
|
if (res.manifest) {
|
||||||
Alert.alert(
|
Alert.alert(
|
||||||
'Deployment Available',
|
'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?`,
|
`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 {
|
} else {
|
||||||
Alert.alert(
|
Alert.alert(
|
||||||
'No Deployment Available',
|
'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)
|
setPending(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user