Hello there, I am having issues with the Camera permissions but only in the released version of the app. It is working fine in the IOS sim and in android devices using the expo client. But when it is in the play store release it still says I don’t have permission to use the Camera.
This app was built from the start with SDK 33, I started working in this app a couple of months ago* and needed to update to SDK 37, my guess is as the perms config changed the issue might be here. If yes, how do I debug it as it works fine in dev…
Can you share how you are requesting permissions for the Camera module and as for testing the production environment, please see this section of the docs: Building Standalone Apps - Expo Documentation
Sure, not on my machine right now but I will update with the code later tonight. Question, when we have the expo server running in “prod” mode, and I load the app from the expo client in lets say my android device, what kind of differences are there to the built app, an apk for example?
This is the way it was setup when I started working in the app, it works in dev and local devices testing via expo client, but do not in the released version. It asks for permission once and do nothing more.
Oh sorry I expressed myself badly there, it does ask for permission as it should, it is saving the permission (as it works in the expo client and sim) but it does not open the camera (or asks what camera app you want to use).
Then if I try to use the same button again it does nothing, but if I try to do another action that would use the camera as well, it then says the app has no permission.
At first it makes me think it is something returning early in the helper function after the permission is set once, but, why does it not open the camera App and why does it says the permission is not set if I try something else?