'Deploy feature on android without creating apk file
For very small changes, it is sometimes very difficult to always deploy the features with a new apk files. Every time, the build number is increased for such a step and it doesn't really looks good seeing so many apks. So, I wanted to know, if there's a way, like we can deploy features on our android app and that could be done without increasing any build number or making new apk files. When tester confirms the scenarios then, we can go for pre-production/production release directly.
Solution 1:[1]
There are severall approaches to this:
Feature flags
By applying a programming pattern which allows you to enable / disable features in your app through configuration flags which can be toggled at runtime, it is possible to enable / dissable certain features in your app. Your app could check in your backend if a new configuration is available and enable features based on this configuration.
This makes shipping new features safer since they can easily be turned off if it turns out that they cause problems.
Firebase also offers a library for this called Firebase Remote Config.
Use WebViews
For content that changes frequently, an easy solution is to implement the content as a website and use a WebView which loads the content from a web URL. The content can then easily be changed remotely.
An example that comes to mind is a "Latest promotions" page in a shopping app. Having the promotions page as a WebView gives designers full flexibility without requiring an app update.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Alexander Hoffmann |
