Description
In the Android and iOS sections of the App Check docs, there are instructions to configure the App Check debug provider for unit testing in a CI environment. Links:
https://firebase.google.com/docs/app-check/android/debug-provider#ci
https://firebase.google.com/docs/app-check/ios/debug-provider#ci
There are no similar instructions or available methods for App Check in flutter. This makes it difficult to perform an automated test on an app that requires App Check in multiple environments, such as real devices or emulators in Firebase Test Lab. In these situations, a token is printed to console and must be manually added to the Firebase console for each device, instead of all sharing the same token.
The feature should be added to the flutter package as simply as possible. For example:
FirebaseAppCheck.instance.setDebugProviderToken(MY_TOKEN);