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.
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
Approved! Thank you for the contribution!
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.