Error: Permissions module not found. Are you sure that Expo modules are properly linked?
See original GitHub issueSummary
I updated all the expo dependencies (ink. react-native-unimodules
at ver 0.14.1) in my bare react-native app. Since then, I’m having troubles when a module tries to fetch the permissions.
" Error: Permissions module not found. Are you sure that Expo modules are properly linked?
"
There is no documentation regarding the new module expo-modules-core
(also installed). Did I miss something ?
Might have been caused by #12961 @tsapeta
Managed or bare workflow? If you have ios/
or android/
directories in your project, the answer is bare!
bare
What platform(s) does this occur on?
Android, iOS
SDK Version (managed workflow only)
No response
Environment
System:
OS: macOS 11.2.3
Shell: 5.8 - /bin/zsh
Binaries:
Node: 12.15.0 - /usr/local/bin/node
Yarn: 1.22.5 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Android Studio: 4.2 AI-202.7660.26.42.7351085
Xcode: 12.5/12E262 - /usr/bin/xcodebuild
npmPackages:
react: 16.13.1 => 16.13.1
react-native: 0.64.2 => 0.64.2
Reproducible demo or steps to reproduce from a blank project
const {status} = await Notifications.requestPermissionsAsync();
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:18 (4 by maintainers)
Top Results From Across the Web
expo-camera: Error: Permissions module is null - Stack Overflow
1 Answer 1 · I had install "react-native-unimodules": "^0.13. · @roplopfan I tried locally and it worked... · maybe i need to clean...
Read more >expo-permissions - npm
Allows you prompt for various permissions to access device sensors, personal data, etc.. Latest version: 14.0.0, last published: 2 months ...
Read more >Permissions - Expo Documentation
Learn about configuring and adding permissions in an Expo config file.
Read more >unimodules-permissions-interface | Yarn - Package Manager
unimodules -permissions-interface. An interface for permissions. Installation in managed Expo projects. For managed managed Expo projects, please follow the ...
Read more >Troubleshooting | React Navigation
If the module points to an npm package (i.e. the name of the module doesn't with ./ ), then it's probably due to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @brentvatne bumped react-native-unimodules to 0.14.5 and now works. Thanks
I have updated all expo related libs and now everything works. I am use bare react native