Open sallymoc opened 4 months 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.
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;
Examples for optional updates from other apps in the market: Kraken
Mexc
and another banking app