skip to Main Content

firebase/flutter – Play Integrity – where to place the initialization code

I'm using this guide to implement the new app check Play Integrity: https://firebase.google.com/docs/app-check/android/play-integrity-provider?authuser=0&hl=de#java_1 at step 3 it is mentioned to add this initialization code: FirebaseApp.initializeApp(/*context=*/ this); FirebaseAppCheck firebaseAppCheck = FirebaseAppCheck.getInstance(); firebaseAppCheck.installAppCheckProviderFactory( PlayIntegrityAppCheckProviderFactory.getInstance()); But where?? I tried it in main.dart, MainActivity.java…

VIEW QUESTION

Firebase AppCheck POST request is unknown

I'm trying to configure AppCheck in my web app (using SvelteKit). I've registered my web app with recaptcha and then Added this basic code: onMount(async () => { const appCheck = initializeAppCheck(app, { provider: new ReCaptchaV3Provider('my-key'), isTokenAutoRefreshEnabled: true }) })…

VIEW QUESTION
Back To Top
Search