Skip to content

Commit ebc6939

Browse files
committed
Merge branch 'master' of github.com:react-native-community/react-native-permissions
2 parents 803693b + fa88827 commit ebc6939

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ const RNPermissions: {
4040
// Produce an error if we don't have the native module
4141
if (RNPermissions == null) {
4242
throw new Error(`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.
4543
• 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.
4744
* If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.
4845
If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-permissions`);
4946
}

0 commit comments

Comments
 (0)