-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
moving-to-expo-cliThe issue tracker has been moved to expo/expo-cli. Please file bugs in the Expo CLI repository now.The issue tracker has been moved to expo/expo-cli. Please file bugs in the Expo CLI repository now.
Description
Description
When I try to use PermissionsAndroid to require some permissions with my app, I have an error that says:
Tried to use permissions API but the host Activity doesn't implement PermissionAwareActivity.
I've used the example code from the React-Native doc.
Expected Behavior
Android Permissions management
Observed Behavior
I've done some research that tell me to eject my app from Expo and modify manually the main activity, however, I prefer not do to that for now.
Looking for another solution.
Environment
Please run these commands in the project folder and fill in their results:
npm ls react-native-scripts: react-native-scripts@1.14.0npm ls react-native: react-native@0.55.4npm ls expo: expo@27.1.1node -v: v8.11.3npm -v: 6.4.0yarn --version:watchman version:
Also specify:
- Operating system: MACOS
- Phone/emulator/simulator & version: Galaxy s8 on expo app
alexx855
Metadata
Metadata
Assignees
Labels
moving-to-expo-cliThe issue tracker has been moved to expo/expo-cli. Please file bugs in the Expo CLI repository now.The issue tracker has been moved to expo/expo-cli. Please file bugs in the Expo CLI repository now.