Refactor app version handling and update authentication flow

Previously, this was only triggered when logging in to the application. If a user
just opened the app, it would just stop working. We also now always check this min
version and have removed the option from the android manifest file since disabling
this doesn't make much sense and we have many other platforms as well (iOS, flatpak)
This commit is contained in:
Roland Geider
2025-03-28 17:21:31 +01:00
parent cacb89f8b1
commit e4b550ab52
12 changed files with 161 additions and 107 deletions

View File

@@ -29,10 +29,6 @@
android:enableOnBackInvokedCallback="true"
android:networkSecurityConfig="@xml/network_security_config">
<meta-data
android:name="wger.check_min_app_version"
android:value="true" />
<activity
android:name=".MainActivity"
android:exported="true"