You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running in a bare workflow app and I installed expo-permissions together with expo-camera. Trying to build an app which ask for camera permission and audio recording permission but when I call Permission.getAsync, I got Error: unrecognized permission: audio recording.
After a big of digging through expo's source code, I see that I need to install the package which will handle the permission stuff since each of them will call [UMPermissionsMethodsDelegate registerRequesters: withPermissionsManager:] in their module registry register (the similar requirement also applies in android side).
So I propose that we can improve the error message to be something like:
Error: unrecognized permission <permission>, please install and link <the package>, see more at <the link>
I can happily make a PR regarding this! Please give your thought!
The text was updated successfully, but these errors were encountered:
馃悰 Bug Report
Running in a bare workflow app and I installed
expo-permissions
together withexpo-camera
. Trying to build an app which ask for camera permission and audio recording permission but when I callPermission.getAsync
, I got Error: unrecognized permission: audio recording.After a big of digging through expo's source code, I see that I need to install the package which will handle the permission stuff since each of them will call
[UMPermissionsMethodsDelegate registerRequesters: withPermissionsManager:]
in their module registry register (the similar requirement also applies in android side).So I propose that we can improve the error message to be something like:
Error: unrecognized permission <permission>, please install and link <the package>, see more at <the link>
I can happily make a PR regarding this! Please give your thought!
The text was updated successfully, but these errors were encountered: