Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Firebase RemoteConfig be accessed from cloud functions

I'm using Firebase as a simple game-server and have some settings that are relevant for both client and backend and would like to keep them in RemoteConfig for consistency, but not sure if I can access it from my cloud functions in a simple way (I don't consider going through the REST interface a "simple" way)

As far as I can tell there is no mention of it in the docs, so I guess it's not possible, but does anyone know for sure?

like image 994
N.J. Avatar asked Apr 29 '17 10:04

N.J.


Video Answer


1 Answers

firebaser here

There is a public REST API that allows you to read and set Firebase Remote Config conditions. This API requires that you have full administrative access to the Firebase project, so must only be used on a trusted environment (such as your development machine, a server you control or Cloud Functions).

There is no public API to get Firebase Remote Config settings from a client environment at the moment. Sorry I don't have better news.

like image 170
Frank van Puffelen Avatar answered Oct 01 '22 02:10

Frank van Puffelen