I have uploaded the Flutter app with a testing feature that opens the admin panel without credentials. I have now corrected the problem but there are some users using the defective version of the app. Is there any way to force user to update the app? Or disable some specific version from the google play console?
Thank you in advance!
-
This is not a graceful thing to do.Arijeet– Arijeet2022-04-20 09:17:48 +00:00Commented Apr 20, 2022 at 9:17
-
block existing API end-points and create new API end-points. You'll need not worry about old versions. It won't work. And users will automatically delete and reinstall. If you have set push notification, send a push notification to update to the latest version after resetting the API end points.Omi Shah– Omi Shah2022-04-20 09:25:56 +00:00Commented Apr 20, 2022 at 9:25
-
the app contains a lot of data in firebase. will the data remain protected?Adil Naseem– Adil Naseem2022-04-20 09:27:03 +00:00Commented Apr 20, 2022 at 9:27
Add a comment
|
1 Answer
As you have rolled out the faulty application now you cannot force any one to upgrade as that app has no built in feature (also any apk saved would remain vulnerable). Best case is now update your api endpoints to a new endpoint and block the previous endpoints.)
Build a new app:
- Create new endpoints with authorization at server end so that server can decide what can a user can do instead of just client.
- use https://pub.dev/packages/in_app_update (Android only) for handling the updates (optional)
3.You can check current app build with a service which forces update (Show a inbuilt screen that the app compulsorily needs to be updated) if server has a greater minimum allowed build number.