Closed perryhoang2012 closed 1 year ago
I have this error on android help
"react-native": "0.68.5", "react": "17.0.2", "react-native-permissions": "^3.8.0",
I managed to solve it by dowgrading to version 3.3.1
I managed to solve it by dowgrading to version 3.3.1
It is work. Thanks you.
Locking the version / removing the ^ worked for me. Currently using 3.6.1.
"react-native-permissions" : "3.6.1"
I managed to solve it by dowgrading to version 3.3.1
This worked for me too, thanks!
@niyoh55 @elgambet This is terrible "solutions".
There's no issue in latest versions, just don't forget to clean your build cache and follow the documentation.
Bug summary
Error: react-native-permissions: NativeModule.RNPermissions is null. To fix this issue try these steps: • If you are using CocoaPods on iOS, run
pod install
in theios
directory and then clean, rebuild and re-run the app. You may also need to re-open Xcode to get the new pods. • 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 If none of these fix the issue, please open an issue on the Github repository: https://github.com/react-native-community/react-native-permissions.I try
pod install
and re-run but it not working.Library version
3.6.1
Environment info
Steps to reproduce
pod install
run by X Code
Reproducible sample code