How can I solve this error? Firebase App Check invalid token

215 Views Asked by At

I am implementing app check in android flutter but I am encountering this error,

enter image description here

I have tried with physical devices but I have had no solution.

I tried it this way :

if (kDebugMode) {
  
  await FirebaseAppCheck.instance.activate(
    androidProvider: AndroidProvider.debug,
  );
} else {
 
  await FirebaseAppCheck.instance.activate(
    androidProvider:
        AndroidProvider.playIntegrity, 
  );
}  

And this way

await FirebaseAppCheck.instance.activate(
    androidProvider: AndroidProvider.debug, );

and I tried it this way

FirebaseAppCheck.instance.activate();

I have it registered in my App Check console

enter image description here

0

There are 0 best solutions below