我正在为我的 Flutter 应用程序创建带有 A/B 测试的 Firebase 远程配置实验。为了在测试设备上验证实验,我需要获取Firebase installation auth token
与每个 Firebase 安装相关的内容。
我怎样才能在“Flutter-way”中获得这个令牌?在文档中,有办法为 Swift、Kotlin 等获取它。但不适用于 Dart/Flutter。
在我的应用程序中,我firebase_core
安装了软件包,并且 FirebaseOptions 有一堆 id:
this.apiKey,
this.appId,
this.messagingSenderId,
this.projectId,
this.measurementId,
但没有 Firebase安装身份验证令牌。