Closed oureta closed 8 years ago
This is due to KeyboardObserver
native module
rnpm link
fixes the problem
this unforunately didn't fix this error for me after upgrading from v0.24.0 to v0.29.0 (iOS). I also tried removing node_module and re-running npm install
to no avail :(
Anyone found a solution that works for v0.29.0?
+1 for RN 0.29
+1 for RN 0.30 anybody know why this is happening
Also having this problem with RN 0.30.0-rc.0.
I have been having this problem as well. here is what I have done to fix it for my project. Please let me know if this helps you in any way.
rm -rf node_modules && npm install
and then rnpm link
DeviceEventEmitter
with Keyboard
react-native run-ios
sudo react-native run-ios
to rebuild the project and run itreact-native run-ios
after running previous commandIf this didn't work for you then try running react-native upgrade
before step walking through step 4. Be careful with the upgrade command if you have any custom logic outside of RN in you xcode project as this command will reset the project to default settings. You can evaluate each question with hitting d
to see what changes are trying to be made.
Hopefully this helps someone
unfortunately, this doesn't work for my case... rn 0.31 trying to set up PushNotifications and each time see this red screen 'this._nativeModule.addListener is not a function'
Any thoughts what can cause it?
@zo-chu : did you find any solutions, same issue here If found, please post the solution, Thanks
I have found that if in nativeModule do not sendEventWithName:eventA but in ReactNative nativeEventEmitter.addListener: eventA。 could occur that error I think it may help who have this issue
I'm encountering this issue when upgrading to v0.27.2 (iOS)
I think I have the same issue as this: https://github.com/fbsamples/f8app/issues/62