You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using app-check for Firestore and Storage. I have a problem with Firestore(only android). When I send query to enforced Firestore, I get: Error: Uncaught (in promise): Error: PERMISSION_DENIED: Missing or insufficient permissions.
firestore and storage works fine with app-check on iOS,
storage works with app-check on Android.
My code:
if (isAndroid) {
AppCheck.setProviderFactory();
}
firebase()
.initializeApp()
.then((app) => {
if (isAndroid) {
firebase().appCheck().activate(true);
}
});
I even try run this code in angular main.ts for early activate, but I get same error.
What is the cause of the problem?
Thanks.
The text was updated successfully, but these errors were encountered:
I am using app-check for Firestore and Storage. I have a problem with Firestore(only android). When I send query to enforced Firestore, I get:
Error: Uncaught (in promise): Error: PERMISSION_DENIED: Missing or insufficient permissions.
firestore and storage works fine with app-check on iOS,
storage works with app-check on Android.
My code:
I even try run this code in angular main.ts for early activate, but I get same error.
What is the cause of the problem?
Thanks.
The text was updated successfully, but these errors were encountered: