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
Copy file name to clipboardExpand all lines: src/index.ts
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,10 +40,7 @@ const RNPermissions: {
40
40
// Produce an error if we don't have the native module
41
41
if(RNPermissions==null){
42
42
thrownewError(`react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps:
43
-
• Run \`react-native link react-native-permissions\` in the project root.
44
-
• Rebuild and re-run the app.
45
43
• If you are using CocoaPods on iOS, run \`pod install\` in the \`ios\` directory and then rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.
46
-
• Check that the library was linked correctly when you used the link command by running through the manual installation instructions in the README.
47
44
* If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.
48
45
If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-permissions`);
0 commit comments