Is there an API to *change* Firebase Remote Config values?
Asked Answered
M

3

15

Firebase console support easy way to configure remote configuration parameter.

In our app we have remote configuration different per user, and those configuration are set on our own web portal.

Is there any API by which I can push configs from my own portal to Firebase remote config server and then use remote config lib on android app to get new configurations?

Marlinemarlinespike answered 22/5, 2016 at 12:14 Comment(4)
Thanks for trying Firebase Remote Config. There is no API to change configuration values at the moment.Farnesol
@FrankvanPuffelen how about an option to upload a config file? So we could build a simple key/value json file on our machine and manually upload it to the firebase console. I'm currently exploring the possibility and utility of managing all our apps strings with RemoteConfig. The actual translations are managed with a different internal tool and it would be great if we could run a script that would build a json we can upload to firebase.Harwin
There is now a REST API to get and change Firebase Remote Config values. Check my answer hereConfidential
Link to Remote Config REST API : firebase.googleblog.com/2018/03/…Cent
S
12

This feature is available in Firebase Remote Config REST API

Scare answered 15/7, 2016 at 14:59 Comment(6)
Has it moved out of the list or still on it? Would be a very nice feature!Batista
This is really a key thing because it would allow automated changes of configuration on a period basis, event or after a specific checkChromous
It would in fact not only be a nice feature, but it is essential - there has to be a way to export and import the values from a remote config list, otherwise bigger lists are unmanageable.Tini
We now have an API for Remote Config - firebase.googleblog.com/2018/03/…Cent
Did any Masters make the sample to use Rest API? I spent a day to do but I'm still getting many issues.Shortwave
This example project from Google shows how to use the Remote Config REST API this on the server side with the Admin SDK: github.com/firebase/functions-samples/blob/master/…Gagliardi
B
5

Yes! As of March 2018 there is now a REST API available for you to add or update values in the Remote Config service.

You can use this to either create your own custom front-ends for managing your remote config values, import Remote Config values from elsewhere, or add support to have your Remote Config values change dynamically based on something that might be happening on your server (or even a cron job). Documentation is here.

Bangalore answered 13/3, 2018 at 20:19 Comment(0)
P
1

Check the official Google API link.

Perez answered 6/3, 2018 at 16:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.