react-native-push-notification
react-native-push-notification copied to clipboard
[IOS] When import PushNotifications i get a error new NativeEventEmitter() and cant open my app
Bug
Hi, i just import PushNotifications and i get this error on IOS, in android it works very good. The error is the following

Environment info
react-native info
output:
System: OS: macOS 12.5.1 CPU: (8) x64 Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Memory: 1.41 GB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.17.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 8.15.0 - /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 23, 28, 30, 31 Build Tools: 30.0.2, 30.0.3, 31.0.0 System Images: android-24 | Google Play Intel x86 Atom, android-30 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 4.2 AI-202.7660.26.42.7351085 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: 16.0.2 - /Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/Contents/Home//bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.2 => 0.70.2 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
I just have this index.js code nothing more:

Thanks for all your help
I have the same problem with my app.
I have the same issue as well
Any updates?
same here. any updates?
Same here. Any updates on this one?
Have you tried fixing it by installing this package as well ?
@react-native-community/push-notification-ios