This repository shows you how the Remote Configuration feature of AppGallery Connect can be used.
The Android App has one main screen with:
- an input to change the users "country" user attribute.
- a background color based on remote configuration
- a text view based on remote configuration
- a button for forcing a refresh of the remote configuration
When the app loads it loads the latest remote configuration. This remote configuration is used to decide the text on the screen and the background color. The app uses Huawei Analytics to setup a User Attribute for 'country', and Remote Configuration to create a conditional remote toggle. This condition says, when the user is in the UK the screen changes background color and says "Welcome".
We demonstrate the user of Remote Configuration, Conditions, Analytics, User Attributes and Config Refreshing.
As explained in the blog here:
https://blog.blundellapps.co.uk/remote-configuration-using-appgallery-connect/
Adding the AppGallery Connect SDK:
Getting started with Remote Configuration:
Huawei Training on Remote Configuration:
https://developer.huawei.com/consumer/en/training/detail/101601449812686029