does not work with CRNA / Expo
See original GitHub issueHi, any idea why I can’t seem to import your module with a fresh CRNA install?
import SInfo from 'react-native-sensitive-info'
console.log('SInfo: ', SInfo)
console output:
SInfo: undefined
I use:
"dependencies": {
"expo": "^21.0.0",
"react": "16.0.0-alpha.12",
"react-native": "^0.48.4",
"react-native-sensitive-info": "^5.1.0"
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Is there any advantage of using Expo or CRNA when must ...
One possible advantage of using Expo even after ejecting is that after ejecting, you can opt to have a native project linked to...
Read more >React-Native App using Expo CRNA and Typescript - Part 1
Open Expo app and select 'Scan QR code' option. ... (If tsc command is failing for you, with something like tsc command not...
Read more >Why use CRNA over Expo? - #4 by dikaiosune - Expo Development ...
CRNA's biggest advantage for new users is that it's installation is very fast and does not require an Expo account. In the spirit...
Read more >CRNA, Expo or react-native init for your next project
While not having to open Xcode and run the project from there is nice, it's not the idea of using CRNA we are...
Read more >Running expo and raw react-native together - InApps
The devs who don't need to work on the native modules will never need to touch the ios and android builds with this....
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
@mCodex @Morriz
You cannot use any modules that require linking (i.e. native modules) with expo. This is not an issue with
react-native-sensitive-info
. You must either detach to ExpoKit or eject completely. See this.Please note that Expo SDK 21 already has a SecureStore.
I did that already, but to no avail. It would be awesome if your module would work with CRNA out of the box, but you probably have to do some tweaking. I would reach out to the CRNA ppl if I were you.