I want a mechanism to push small-features and bug-fixes quickly, because Playstore-reviews are getting stuck for at least one week again. I checked ota_update which seemed promising, but it uses REQUEST_INSTALL_PACKAGES permission, which has been banned by Playstore for any new update / App. Next suggestion was to use Firebase-Remote-Config but that does not help in a buggy-code scenario, it's more for A/B testing. I have not tried Hydro-SDK because it involves using TypeScript. Another option is Chimera but from its Github activity, it seems very new and might not be stable. Requesting some suggestions on what steps I can take. Thanks!
Asked
Active
Viewed 918 times
2 Answers
1
You can give a try to flutter_eval

iStornZ
- 603
- 1
- 8
- 19
-
Thanks for sharing this. I will keep this in mind, but will keep it as a later option because it seems it doesn't have support for all Widget types yet. Also from their docs "Although flutter_eval is already the best solution for native Dart Flutter code push, it's still very early for the project and you should not expect existing Flutter/Dart code to work without modification." For a large and growing code-base, maintaining parity can also become difficult. – beria Sep 28 '22 at 10:30
0
You could write your own backend and define a route that checks if there is an update.
To do this, you store the latest version number in the database. Every time you want to run an update, you send the current version number of your app and compare it with the version in the database. If the version is smaller than the version in the database, then you can download your apk from a file server and run it.

Ozan Taskiran
- 2,922
- 1
- 13
- 23
-
Apologies for the delay. ".. download your apk from a file server ..." I think I will have to use otp_update pub package or some other similar way to do this. But Android will not accept new App updates with android-permission "REQUEST_INSTALL_PACKAGES", which is needed for otp_update. So, how do I install the apk? – beria Sep 28 '22 at 10:20