qubic / wallet-app

Other
2 stars 7 forks source link

To define a strategy and to implement flexible and forcing upgrade app functionality #17

Open sallymoc opened 4 months ago

sallymoc commented 1 month ago

I saw this post that explains a simple way to implement this with Firebase remote configuration https://medium.com/@martinolundberg94/how-to-add-a-force-upgrade-dialog-in-flutter-with-firebase-remote-config-8a339fedda9e

Other options: https://pub.dev/packages/upgrader

Example to force update from other apps in the market; image image image

Examples for optional updates from other apps in the market: Kraken image

Mexc image

and another banking app image

sallymoc commented 3 weeks ago

The source code has currently comment out code that fetchs information from the following urls:

https://wallet.qubic-hub.com/versionInfo.php

i.e response

{ "minVer": "0.7.0", "maxVer": "0.8.0", "notice": "" }

https://wallet.qubic-hub.com/versionInfo.php?ver=0.8.0

i.e response { "version": "0.8.0", "critical": false, "message": "Explorer enhancements", "major": "Explorer now shows the status of transactions", "minor": "You can now support and donate for the Qubic-Hub Wallet", "url": "[github]qubic-wallet/releases/tag/0.8.0" }

We need to create new services in qubic.org for the checking version purpose.