Closed cedvdb closed 10 months ago
Hi @cedvdb, is this happening on specific iOS devices/versions or is it happening on all the devices you have tested? Can you also check the following issues to see if they are similar to your case?
https://github.com/firebase/flutterfire/issues/11629 https://github.com/firebase/flutterfire/issues/10683
@danagbemava-nc The first issue does not have a reproduction example. The second one is marked as blocked by the SDK but is no longer blocked. Both of those issue look like the same as mine. Please update the label on the second one though as it might mislead further investigation.
Thanks for the update. Deduplicating this into the existing issues
Bug report
Describe the bug
This is the same issue as this closed issue. However the comment that closed that issue was referring to the debug token, while this issue only arise with the
appAttestWithDeviceCheckFallback
provider. It works with the debug and device check providers.When calling
await FirebaseAppCheck.instance.getToken()
an exception in thrownUnhandled Exception: [firebase_app_check/unknown] The operation couldn’t be completed. (com.firebase.appCheck error 0.)
when running on iOS. Every subsequent firebase call to protected firebase services (firestore, firebase storage) fails with permission denied.Steps to reproduce
Run the sample code below ( add your own firebase options for app initialization).
Flutter doctor
Flutter dependencies