Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 2.47 KB

firebase_remote_config_setup.md

File metadata and controls

44 lines (23 loc) · 2.47 KB

🚜 Firebase Remote Config setup guide

To use the RemoteConfigVersionarteProvider, you don't need to add firebase_remote_config to your project's pubspec.yaml as it's already included as a dependency of versionarte package.

However, you need to add a new parameter to your Firebase Remote Config porject to contain the relevant information for your app. Here are the steps to follow:

Step 1: Open Remote Config dashboard

Go to Firebase Console website and select your project. Then, click on the Remote Config button.

If you haven't added any configuration parameters yet, click the Create configuration button.

If you already have some parameters, click the Add parameter button.

Step 2: Upload "versionarte" parameter.

Fill the Parameter name (key) field with versionarte and choose Data type as JSON.

Then, expand the Default value field and fill it with the JSON which derived from versionarte configuration JSON in a way that it represents the information for your app.

When you click on the Save button, the pop-up will be closed. Click on the Save button again to confirm the changes.

Step 3: Publish the changes

Click Publish changes button to publish the changes.

Updating the value

To update the value of the versionarte parameter, edit the existing one following the same steps as above.

🎉 By following these steps, you should now have the versionarte parameter in your Firebase Remote Config, which you can use to manage your app's versioning and availability.