Open aniri opened 4 years ago
Is the dialog UI an absolute requirement? If not we could use the default in-app updates. This would require a dependency on the com.google.android.play:core library from Google.
Is the dialog UI an absolute requirement? If not we could use the default in-app updates. This would require a dependency on the com.google.android.play:core library from Google.
@lukstbit no, the dialog is not a requirement, it is just a suggestion. You are right, using the default in-app updates would be better :)
hey @lukstbit :smiley: ! would you be interested in handling this task with the default in-app updates?
@aniri I'll take this issue if it's still free
@aniri I'll take this issue if it's still free
@VladCuciureanu yep, it's free! thanks!
@aniri this task is opened yet? If yes, I could help!
@aniri this task is opened yet? If yes, I could help!
@pedrofsn thanks for your interest, but this task is already assigned to someone.
@pedrofsn I would be willing to pass the issue over to you. I couldn't figure out how to implement and/or test this. Maybe you'll have more luck :)
Hi, i did this task but it's getting some firebase erros. I've tried to initialize with and without koin but not worked. If it can be fixed, the update flow will works!
The error:
Unable to start activity ComponentInfo{ro.code4.monitorizarevot/ro.code4.monitorizarevot.ui.login.LoginActivity}: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process ro.code4.monitorizarevot. Make sure to call FirebaseApp.initializeApp(Context) first.
[...]
Make sure to call FirebaseApp.initializeApp(Context) first.
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 istrue
, 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:
Texts: EN
RO