14

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?

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
GaneshP
  • 746
  • 7
  • 25
  • 5
    Thanks for trying Firebase Remote Config. There is no API to change configuration values at the moment. – Frank van Puffelen May 23 '16 at 00:19
  • 1
    @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. – Daniel W. Mar 06 '17 at 18:20
  • There is now a REST API to get and change Firebase Remote Config values. Check [my answer here](https://stackoverflow.com/a/49262738/5861618) – Rosário Pereira Fernandes Mar 13 '18 at 18:03
  • Link to Remote Config REST API : https://firebase.googleblog.com/2018/03/announcing-remote-config-rest-api.html – Mayank Jain Mar 28 '18 at 19:01

3 Answers3

11

This feature is available in Firebase Remote Config REST API

Safa Alai
  • 1,223
  • 1
  • 15
  • 27
  • Has it moved out of the list or still on it? Would be a very nice feature! – Christer Nordvik May 31 '17 at 12:26
  • This is really a key thing because it would allow automated changes of configuration on a period basis, event or after a specific check – FrankMonza Jun 27 '17 at 08:26
  • 2
    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. – TheEye Jul 14 '17 at 09:49
  • 1
    We now have an API for Remote Config - https://firebase.googleblog.com/2018/03/announcing-remote-config-rest-api.html – Mayank Jain Mar 28 '18 at 19:00
  • Did any Masters make the sample to use Rest API? I spent a day to do but I'm still getting many issues. – Leo Nguyen Sep 08 '18 at 09:41
  • This example project from Google shows how to use the Remote Config REST API this on the server side with the Admin SDK: https://github.com/firebase/functions-samples/blob/master/remote-config-diff/functions/index.js – Frederik Jan 23 '20 at 15:00
4

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.

Todd Kerpelman
  • 16,875
  • 4
  • 42
  • 40
0

Check the official Google API link.

Islam Salah
  • 953
  • 11
  • 22