Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 2.25 KB

File metadata and controls

70 lines (52 loc) · 2.25 KB

How to Initialize Firebase Remote Config

Firebase Remote Config is great, but it's a bit tricky to configure it correctly.

Here's my battle-tested loading strategy:

  1. setup fetch interval (flavor-dependent)
  2. set default values
  3. activate previous values
  4. fetch new values (unawaited)
  5. add a realtime listener (which is not subject to the minimumFetchInterval)


Want to use this in your apps? Grab it from this gist:


For more info about common loading strategies, read:


My latest course shows how to use Firebase Remote Config in useful scenarios such as force updates and A/B tests.

Learn more here 👇


Previous Next
How to Disable Impeller on Android Adaptive Alert Dialog (Material, Cupertino)