Slide 1

Slide 1 text

Firebase Remote Config 9.2.0 shaunkawano

Slide 2

Slide 2 text

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.

Slide 3

Slide 3 text

Anyone using
 Firebase Remote Config in production?

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

In June, we’ve tried out.. firebase-core: 9.0.2 firebase-config: 9.0.2

Slide 6

Slide 6 text

In June, we’ve tried out.. firebase-core: 9.0.2 firebase-config: 9.0.2

Slide 7

Slide 7 text

In June, we’ve tried out.. firebase-core: 9.0.2 firebase-config: 9.0.2

Slide 8

Slide 8 text

End of June, Version 9.2.0 came out!

Slide 9

Slide 9 text

Latest Library Version: 9.2.0 https://firebase.google.com/docs/android/setup

Slide 10

Slide 10 text

firebase-core: 9.0.2 -> 9.2.0

Slide 11

Slide 11 text

firebase-core: 9.2.0

Slide 12

Slide 12 text

firebase-config:9.2.0 Not Yet

Slide 13

Slide 13 text

Firebase Remote Config 9.2.0 Basics / Tried out

Slide 14

Slide 14 text

Key Functions

Slide 15

Slide 15 text

Key Functions https://firebase.google.com/docs/remote-config/#key_functions

Slide 16

Slide 16 text

Policies and Limits

Slide 17

Slide 17 text

Policies https://firebase.google.com/docs/remote-config/#policies_and_limits

Slide 18

Slide 18 text

Limits https://firebase.google.com/docs/remote-config/parameters#limits_on_parameters_and_conditions

Slide 19

Slide 19 text

Caching https://firebase.google.com/docs/remote-config/#caching

Slide 20

Slide 20 text

• 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()

Slide 21

Slide 21 text

Caching https://firebase.google.com/docs/remote-config/#caching

Slide 22

Slide 22 text

Caching https://firebase.google.com/docs/remote-config/#caching

Slide 23

Slide 23 text

FirebaseRemoteConfigFetchThrottledException https://firebase.google.com/docs/reference/android/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException

Slide 24

Slide 24 text

FirebaseRemoteConfigFetchThrottledException https://firebase.google.com/docs/reference/android/com/google/firebase/remoteconfig/FirebaseRemoteConfigFetchThrottledException

Slide 25

Slide 25 text

Problems of Firebase Remote config

Slide 26

Slide 26 text

FirebaseRemoteConfig.fetch() does not trigger OnCompleteListener every time http://stackoverflow.com/questions/37501124/firebaseremoteconfig-fetch-does-not-trigger-oncompletelistener-every-time

Slide 27

Slide 27 text

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!”

Slide 28

Slide 28 text

Known Problems of Firebase in general

Slide 29

Slide 29 text

http://stackoverflow.com/questions/37346363/java-lang-illegalstateexception-firebaseapp-with-name-default java.lang.IllegalStateException: FirebaseApp with name [DEFAULT] http://stackoverflow.com/questions/37342403/firebaseapp-with-name-default-doesnt-exist

Slide 30

Slide 30 text

Firebase library depends on Google Play Services

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Firebase 9.2.0 not working with Jack / minifyEnabled = true

Slide 34

Slide 34 text

https://github.com/firebase/quickstart-android/issues/75#issuecomment-230852996 9.2.0 not working with Jack / minifyEnabled = true

Slide 35

Slide 35 text

https://github.com/firebase/quickstart-android/issues/75#issuecomment-230852996 9.2.0 not working with Jack / minifyEnabled = true

Slide 36

Slide 36 text

Maybe RemoteConfig is not ready for production just yet; you can start tasting it, but do not expect it to work perfectly.

Slide 37

Slide 37 text

Firebase Remote Config 9.2.0 shaunkawano