Firebase Remote Config

I think it should be part of extension-firebase as the token can be used to validate both Remote Config A/B tests and Cloud Messaging A/B tests.

1 Like

I’ve implemented this and am about to open a pull request, but frustratingly, even though the Remote Config dashboard accepts the auth token (and rejects it if I corrupt it - so I know it’s valid), my attempts to force a device to receive a particular variant aren’t working.

This started to work this morning (my test device saw the variant value) so pretty sure this is the caching problem as discussed earlier in the thread - I’ll investigate options.

edit: added set_minimum_fetch_interval at Add set_minimum_fetch_interval by dri-richard Ā· Pull Request #4 Ā· defold/extension-firebase-remoteconfig Ā· GitHub

2 Likes

Approved! Thank you for the contribution!

2 Likes

It turns out that the installations auth token has a very short lifetime so isn’t useful for my scenario where a QA tester will want to register their device to receive a particular A/B test variant over a period of time.
The other option is an Instance ID token but that’s deprecated. It is though currently available (Android only) from the register callback in extension-push, and it does have a useful lifetime.

Also thanks @AGulev for fixing/adding the iOS framework.

2 Likes