Skip to content

Commit abb3378

Browse files
committed
Merge branch 'master' of github.com:react-native-community/react-native-permissions
2 parents fcb4a18 + 99c4d23 commit abb3378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {module} from './module';
55
if (NativeModules.RNPermissions == null) {
66
throw new Error(`react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps:
77
• If you are using CocoaPods on iOS, run \`pod install\` in the \`ios\` directory and then clean, rebuild and re-run the app. You may also need to re-open Xcode to get the new pods.
8-
• If you are getting this error while unit testing you need to mock the native module. Follow the guide in the README.
8+
• If you are getting this error while unit testing you need to mock the native module. You can use this to get started: https://github.com/react-native-community/react-native-permissions/blob/master/mock.js
99
If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-permissions`);
1010
}
1111

0 commit comments

Comments
 (0)