3

I generated a debug token from AppCheck, but when I use this token it does not work: enter image description here


Flutter Main:

  const debugToken = 'XXXXXXXXXXXXXXXXXXXXXXXXXXX';
  bool kReleaseMode = bool.fromEnvironment("dart.vm.product");
  print("kReleaseMode: $kReleaseMode");
  if(kReleaseMode){
    await FirebaseAppCheck.instance.activate();
  }else{
    await FirebaseAppCheck.instance.activate(
      webRecaptchaSiteKey:  debugToken,
    );
  }

Still Fails: enter image description here

Petro
  • 3,484
  • 3
  • 32
  • 59

0 Answers0