Closed fransoudelaar closed 1 month ago
is this still happening after release of v20.1.0 here with updated SDKs from PR #7820 ?
Unfortunately it's still happening after upgrading to v20.1.0 @mikehardy but we found a workaround with this version.
We now always call the getToken with forceRefresh true directly after the initalization of App Check:
const { token } = await firebase.appCheck().getToken(true);
And now it works.
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
The app fails on first launch after updating through TestFlight or after first install through TestFlight due to a Firestore permission issue.
We are using an Enforced Firestore together with App Check. Configured Device Check and App Attest for iOS and Play Integrity for Android.
const data = (await firestore().collection('name').doc('name').get()).data()
const { token } = await firebase.appCheck().getToken(true);
There is a valid token but Firestore is not using it somehow.
package.json
:firebase.json