Remote Configuration

Estimated reading: 2 minutes 2099 views

Configure Remote Config to enable Change Log, Force Update, and Maintenance Mode

Important:

This procedure will be repeated twice: once for the Provider app and once for the User app.

Step 1: After creating a Firebase account, Navigate to the Engage tab -> Remote Config.

Step 2: Select Add Parameter

Step 3: Choose json as the DataType and enter the Parameter name (providerChangeLog, userChangeLog)

Provider Json

{
"isForceUpdate": false,
"inMaintenanceMode": false,
"changeLogs": [
"COMMA SEPARATED STRINGS TO BE ENTERED"
],
"android": {
"versionName": "5.1.0",
"versionCode": "19"
},
"iOS": {
"versionName": "2.0.0",
"versionCode": "1.0.0"
}
}

User Json

{
"isForceUpdate": false,
"inMaintenanceMode": false,
"changeLogs": [
"COMMA SEPARATED STRINGS TO BE ENTERED"
],
"android": {
"versionName": "5.1.0",
"versionCode": "19"
},
"iOS": {
"versionName": "2.0.0",
"versionCode": "1.0.0"
}
}

Step 4: Copy the below JSON and paste it into the Default value field before clicking Save.

Step 5: You can now publish it.

Great! You have successfully completed Remote Configuration.
Use of this Feature
  • Force Update: When there is a major update, set the isForceUpdate parameter to true to force users to update the app if not using the latest version.
  • Maintenance Mode: Set the inMaintenanceMode parameter to true when you want to set your app in maintenance mode due to a bug or you don't want users to use it right now.
  • Change Log: When you release a new update for an app, you can include the new features or updates in the change log by editing the same value.

Leave a Comment

Share this Doc

Remote Configuration

Or copy link

CONTENTS