Agung
Agung

Reputation: 13873

why do I need to store the configuration setting in the Firebase Remote Config instead of using regular firestore document?

so currently I save my app setting in my firestore like this ?

enter image description here

it can work as I want, and it can be real time as well.

but recently I just learn about Firebase Remote Config, and it just basically to save key value pair on the cloud. and from the video I saw on youtube, the example is to store the configuration setting like the image above using Firebase Remote Config.

it sounds similar to firestore database in my opinion.

so I have 2 questions:

  1. why do I need to store the setting in my firebase remote config ?
  2. is it safe to store the API key in firebase remote config ? I want to save my Google map reverse geocoding

Upvotes: 0

Views: 999

Answers (1)

Martin Zeitler
Martin Zeitler

Reputation: 76849

  1. because Remote Config has conditions, rules, and conditional values.

  2. restrict a Maps API key to the fingerprints of the app's signing keys.

Upvotes: 2

Related Questions