Announce native app update to v0.1.10-beta

This commit is contained in:
minibits-cash
2024-12-04 13:03:18 +01:00
parent f01a5d6cf4
commit 301663669a
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "minibits_wallet",
"version": "0.1.9-beta.39",
"version": "0.1.9-beta.40",
"private": true,
"scripts": {
"android:clean": "cd android && ./gradlew clean",
+4 -3
View File
@@ -120,9 +120,10 @@ export const WalletScreen: FC<WalletScreenProps> = observer(
if (update && update.failedInstall !== true) { // do not announce update that failed to install before
setUpdateDescription(update.description)
setUpdateSize(`${round(update.packageSize * 0.000001, 2)}MB`)
setIsUpdateAvailable(true)
// setIsUpdateAvailable(true)
setIsNativeUpdateAvailable(true)
toggleUpdateModal()
log.info('OTA Update available', update, 'checkForUpdate')
log.info('Native Update available', update, 'checkForUpdate')
}
} catch (e: any) {
return false // silent
@@ -143,7 +144,7 @@ export const WalletScreen: FC<WalletScreenProps> = observer(
const handleBinaryVersionMismatchCallback = function(update: RemotePackage) {
log.info('[handleBinaryVersionMismatchCallback] triggered', NATIVE_VERSION_ANDROID, update)
// setIsNativeUpdateAvailable(true)
// (true)
// toggleUpdateModal()
}