code4romania / code4romania/mon-vot-android-kotlin

"New Version Available" check

Open
#189 9 comments 0 reactions 0 assignees View on GitHub
autumn-2020 enhancement help wanted medium-priority
Dominant language
Kotlin
Stars
7
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Every time a user opens the app we should check if they're on the latest version on the Play Store. If they're not, we should show a dialog that tells them to update.

Ideally we'd have 2 flags on RemoteConfig:
- `android_check_update_available`
- `android_force_update` - if this is `true`, we should not let the user get past that screen until she's on the latest version.

Both flags will default to `true`.

Should look similar to the iOS implementation:
![Simulator Screen Shot - iPhone 11 Pro - 2020-01-13 at 11 06 02](https://user-images.githubusercontent.com/1358055/72244342-c1ed4200-35f6-11ea-921a-45ff099050f9.png)

Texts:
EN
- title: App Update Available
- text: A new app version is available. Please update the app to use the latest features

RO
- title: Actualizare disponibilă
- text: O nouă versiune a aplicației este disponibilă. Te rugăm să faci update pentru a folosi cele mai recente funcționalități.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing iOS implementation referenced in the issue and the Android app’s RemoteConfig and startup entry points. Verify the Play Store version check, the two default-true flags, the localized EN/RO dialog text, and the blocking behavior when force update is enabled; done means optional updates allow continuation and forced updates do not.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.