Last active
May 3, 2025 17:08
-
-
Save AmmarYasserAllaithy/2b937bbeb77866549657f50ddea604d4 to your computer and use it in GitHub Desktop.
Remote Configuration for Android Apps Using Ktor and GitHub Gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app_config": { | |
"min_required_version": "1.0.0", | |
"latest_version": "2.1.5", | |
"force_update": false, | |
"update_message": "Please update to the latest version for new features and improvements!", | |
"maintenance_mode": false, | |
"maintenance_message": "We're currently performing scheduled maintenance. Please try again later." | |
}, | |
"feature_flags": [ | |
{ | |
"id": "FEATURE_A", | |
"name": "New User Interface", | |
"description": "Enables the new material design user interface", | |
"enabled": true | |
}, | |
{ | |
"id": "FEATURE_B", | |
"name": "Beta Analytics", | |
"description": "Enables advanced analytics for beta testers", | |
"enabled": false | |
}, | |
{ | |
"id": "FEATURE_C", | |
"name": "Dark Mode", | |
"description": "Enables dark mode option in settings", | |
"enabled": true | |
}, | |
{ | |
"id": "FEATURE_I", | |
"name": "Chat Support", | |
"description": "Enables live chat support within the app", | |
"enabled": false | |
} | |
], | |
"remote_variables": { | |
"welcome_message": "Welcome to our app!", | |
"max_items_per_page": 20, | |
"cache_duration_hours": 24 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment