Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Firebase Remote Config and Firebase 9.2.0

Firebase Remote Config and Firebase 9.2.0

Shohei Kawano

July 08, 2016
Tweet

More Decks by Shohei Kawano

Other Decks in Programming

Transcript

  1. Content • Ameba Android × Firebase • Firebase Remote Config

    9.2.0
 (Android based) • Problems of Firebase Library in general
 (Android based) No demo, no introduction, 
 no sample project, etc.
  2. • First fetch()
 Fetch value from the server→ Save in

    cache
 task.isSuccessful()→task.isCompleted() • 2nd or more fetch()
 Before the cache expiration date?
 If Before: Get cached value
 task.isSuccessful()→task.isCompleted()
 If After: Fetch value from the server
 task.isSuccessful()→task.isCompleted()
  3. http://stackoverflow.com/questions/37501124/firebaseremoteconfig-fetch-does-not-trigger-oncompletelistener-every-time FirebaseRemoteConfig.fetch() does not trigger OnCompleteListener every time • “It’s

    fixed v9.2.0!” • “I contacted to the support and they told me,
 ‘if fetch() gets called too early then the callbacks may not get called.’
 , so you should call it onPostResume!”
  4. Maybe RemoteConfig is not ready for production just yet; you

    can start tasting it, but do not expect it to work perfectly.