Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels