mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 19:28:26 +00:00
Announce native app update to v0.1.10-beta
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user