Please provide the following:
- SDK Version: 41.0.0
- Platforms(Android/iOS/web/all): IOS (haven’t tested android)
- Add the appropriate “Tag” based on what Expo library you have a question on.
When I use EAS build to build and deploy an IOS app to TestFlight, Camera.getPermissionsAsync() doesn’t prompt the user for permission to use the camera. Instead, it just hangs. This works fine using Expo Go. This also works using expo build (instead of eas build).
NSPhotoLibraryUsageDescription infoPlist params
Hey @debownor66, are you saying the promise never resolves for
getPermissionsAsync? Also, you want to use the
requestPermissionsAsync method to prompt for permission. The get methods check the status of the permission.
Never mind. It appears that the version of expo Camera was not compatible (I had the newest version and expo doctor said that it wasn’t compatible). Once I revered to the “compatible” version, all was fine.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.