I'm having trouble setting up react-native-permissions for the NX repo
I added reactNativePermissionsIOS in package.json but when run app show "no permission handler detected". I am in react-native 0.71.11 and Xcode 14.3.
I'm having trouble setting up react-native-permissions for the NX repo
I added reactNativePermissionsIOS in package.json but when run app show "no permission handler detected". I am in react-native 0.71.11 and Xcode 14.3.
Copyright © 2021 Jogjafile Inc.
I managed to get this working by putting the
reactNativePermissionsIOSsection in the app'spackage.json, changing to that directory then running the command:npx react-native setup-ios-permissionsas stated here.From what I can infer, the command actually modifies the
react-native-permissionsRNPermissions.podspecfile line 17. For my use case I needed "Notifications". Below you can see how the podspec was modified by appending, "ios/Notifications/*.{h,m,mm}".