I've been trying for the past 2 days with this.
I update my react, reactnative, nativebase to latest version.
Error that i got is ::: RTCWebsocket (android) and cannot found react-native/..../nativebase/button.js(ios)
I revert back my version changes to what originally they are
"native-base": "0.5.13",
"react": "15.3.2",
"react-native": "0.32.0",
but i'm getting error of Cannot find module ..../ReactNativePropRegistry.
I did most of the recommended solutions in the git. Someone PLEASEE HELP!
Could you try creating a new project with react-native init and then do a fresh install of native-base?
so basically start my project from scratch? @sankhadeeproy007
@thundenilla ReactNativePropRegistry issue has been fixed and works both on iOS and Android
To make sure we are on same page, please follow these steps to upgrade
In your package.json
"native-base": "0.5.18",
"react": "15.4.1",
"react-native": "0.38.0",
node_modules, android, iosnpm installreact-native upgradereact-native androidreact-native link@SupriyaKalghatgi so basically i did what you listed above, now im getting another error (TypeError: undefined is not a function(evaluating 'RCTWebSocketModule.connect(url..........)
@thundenilla Are you on Xcode 8?
yup 8 @SupriyaKalghatgi
Please check this
I'll add that this issue is also faced when trying to integrate with react-native-web. See issue #120.
Any way we can move away from referencing this directly etc...?
I've got a solution for this if we just extract the ReactNative PropRegistry and put it in your Utils folder it will prevent this from happening again down the line etc... and also allows this to work with react-native-web.
Is this something y'all would be ok with? We also would need to do the same thing with your react-native-easy-grid
@thundenilla Is NativeBase up and running for you?
@dorthwein Yes we are looking for long-term solution to this
Infact permanent solution
@SupriyaKalghatgi yeah its working now. but something else pop up. but its fine, must be something related to my genymotion.
@thundenilla Sounds good!
Could you please close the issue, if it has been solved
@SupriyaKalghatgi can you check this out? https://github.com/GeekyAnts/NativeBase-KitchenSink/issues/11
It's related to this. Thank you!
@SupriyaKalghatgi finally "react-native": "0.38.0" works! thanks.
Most helpful comment
@thundenilla
ReactNativePropRegistryissue has been fixed and works both on iOS and AndroidTo make sure we are on same page, please follow these steps to upgrade
In your
package.json"native-base": "0.5.18", "react": "15.4.1", "react-native": "0.38.0",node_modules,android,iosnpm installreact-native upgradereact-native androidreact-native link