SayantanRC
SayantanRC

Reputation: 949

Dynamically change layout from internet in android without updating apk

If anyone is aware, Google often updates the Google Play Store app without actually pushing any update, like changing the shade of the top green colour. This is obvious because clearing data of the Google Play Store app, reverts the colour and some layouts to older format.

Also similarly for Google Chrome, when rectangular edges were changed to rounded edges, there was no update.

My question is how to get that behaviour? I have not been able to find how do that. Any pointers will be appreciated.

Upvotes: 1

Views: 908

Answers (3)

jelic98
jelic98

Reputation: 713

Last year I needed similar solution but with device targeting, resource caching, event listeners, etc. so I started open source project Dynamico which supports these and many other functionalities. Hope you'll find it useful!

Upvotes: 0

ivan
ivan

Reputation: 65

As somebody pointed out, you can use Firebase remote config. It is probably the best solution for your case.

If for some reason you don't want to do that (not using google's services, ...), and you application is connecting to your server, you can serve colors via API and save those colors in shared preferences on application startup, then just set colors from preferences.

Upvotes: 1

End User
End User

Reputation: 812

what you need is firebase remote config it does exactly what you want

Firebase Remote Config is a cloud service that lets you change the behavior and appearance of your app without requiring users to download an app update.

here is the link

Upvotes: 0

Related Questions