New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS App Check on Cloud Functions Fails 401 only when reviewed by Apple #10235
Comments
Thank you for the suggestions, but no they do not help. My app check works 99.999% of the time, except when reviewed by Apple. |
I'm afraid this may not be actionable from plugin side most probably and suggest you to reach out to firebase support for further resolution, since this doesn't occur locally and only when trying to publish, so it doesn't look like a code issue. |
Hey @h-unterp. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @h-unterp if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
I have 2 apps now that use app check and their cloud functions 401 only when being reviewed by apple.
I have created a minimal repro of a flutter app here: https://github.com/h-unterp/app_check_test and the cloud function is located in the same repo: https://github.com/h-unterp/app_check_test/tree/main/cloudfunctions
The app check works on my personal device and my friend's device, however it fails when being reviewed by apple. The working, published app of this repo is: https://apps.apple.com/app/id1663369999 you will see that app check works fine when you download the app.
While it does not stop this repro app from being published, it does stop my main app from being published which has failed review by Apple, so I have no choice but to make my app less secure and turn app check off.
Some of the cloud function's error log when being reviewed by apple
textPayload: "Function execution took 1098 ms, finished with status code: 401"
Flutter doctor
Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: