In order to get to debug web apps you need this line in your index.html : self.FIREBASE_APPCHECK_DEBUG_TOKEN = true;
If this line is left for the production build, it fails because each browser has it's own token and this line overrides the recaptcha key configuration you may put in your Flutter app. So, you have to manually comment out this line when you deploy and uncomment it again when testing! If there is a way to say how to detect debug environments in index.html it would be great.
Stuff like these are a major hurdle for Flutter adoption especially for the web where everything is streamlined in web development already.
In order to get to debug web apps you need this line in your index.html : self.FIREBASE_APPCHECK_DEBUG_TOKEN = true;
If this line is left for the production build, it fails because each browser has it's own token and this line overrides the recaptcha key configuration you may put in your Flutter app. So, you have to manually comment out this line when you deploy and uncomment it again when testing! If there is a way to say how to detect debug environments in index.html it would be great.
Stuff like these are a major hurdle for Flutter adoption especially for the web where everything is streamlined in web development already.