BabylonReactNativeSample icon indicating copy to clipboard operation
BabylonReactNativeSample copied to clipboard

IOS - Missing react-native-permissions setup

Open gomes042 opened this issue 3 years ago • 2 comments

gomes042 avatar May 07 '22 12:05 gomes042

I also had this, for anyone else running into this, add "react-native-permissions": "3.0.0" to dependencies in package.json

and in android/app/src/main/AndroidManifest.xml: <uses-permission android:name="android.permission.CAMERA" /> and in the application tag <meta-data android:name="com.google.ar.core" android:value="required" />

HedwigAR avatar Jun 09 '22 13:06 HedwigAR

yarn install react-native-permissions npm install react-native-permissions

react-native-permissions isn't compatible with expo, so you must eject and install from xCode or Android Studio at first time

saidmoya12 avatar Jul 27 '22 19:07 saidmoya12