Skip to content

CameraCaptureUI crashing app #18420

Answered by trydalch
trydalch asked this question in Q&A
Oct 9, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey @morning4coffe-dev. Thanks, I should've tried the sample first instead of just using it as a reference point. I'll be sure to do that in the future before opening issues.

The sample runs just fine. Our issue was that we did not have the proper entry in our Info.plist file in order to request camera permissions.

I suspect it crashed instead of throwing a more easily handled error because we had previously written an app with Expo using the same bundle ID and I had already granted camera permissions. So it was probably this weird state where the OS believed I had granted the app permissions already, yet the app no longer had the right Info.plist file. Blew up.

Added this snippet to our …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@trydalch
Comment options

Answer selected by trydalch
@jeromelaban
Comment options

@agneszitte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants