When retrieving a token with the debug provider, you get the following error message.
See robingenz/capacitor-firebase-plugin-demo#299
I expected to successfully retrieve the Firebase App Check token without any errors.
https://github.com/robingenz/capacitor-firebase-plugin-demo
Until now, Firebase on Android and iOS is initialized automatically when the app is launched, see this example.
However, sometimes Firebase may not be initialized directly at startup. This is the case for Firebase App Check if you want to use the debug provider, see here.
let providerFactory = AppCheckDebugProviderFactory()
AppCheck.setAppCheckProviderFactory(providerFactory)
FirebaseApp.configure()
π Capacitor Doctor π
Latest Dependencies:
@capacitor/cli: 5.4.2
@capacitor/core: 5.4.2
@capacitor/android: 5.4.2
@capacitor/ios: 5.4.2
Installed Dependencies:
@capacitor/cli: 5.4.2
@capacitor/core: 5.4.2
@capacitor/android: 5.4.2
@capacitor/ios: 5.4.2
[success] iOS looking great! π
[success] Android looking great! π
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too