Concordium / concordium-reference-wallet-ios

Reference wallet for the Concordium blockchain
Apache License 2.0
11 stars 10 forks source link

Force update functionality #89

Closed concordium-cl closed 2 years ago

concordium-cl commented 2 years ago

Task description [placeholder]

Sub-tasks

Add label for component and priority.

XOOPsoft commented 2 years ago

Request: GET /v0/appSettings?platform=android&appVersion=84 platform can be either android or ios. appVersion is an integer.

Response json example: { "status":"ok", "url":"app-store-link" }

status can be: "ok" "warning" "needsUpdate"

ok means that the app will not present anything to the user. The app can be used as normal. Url is not needed for this status. warning means that the user will see a popup with a message like "There is a new version of the app. Do you want to update now?" Answer options are: "Update now", "Later". needsUpdate means that the user will see a popup saying "There is a new version of the app. Please update now." Answer option is only one "OK". The user cannot continue to use the app.

url is for example: "https://play.google.com/store/apps/details?id=software.concordium.mobilewallet.mainnet" "https://apps.apple.com/dk/app/concordium-mobile-wallet/id1566996491" url can also point to a completely new app if that is required.

Bargsteen commented 2 years ago

Everything worked as expected in build 45 👍