react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

[IOS] When import PushNotifications i get a error new NativeEventEmitter() and cant open my app

Open jorgeferreira008 opened this issue 2 years ago • 6 comments

Bug

Hi, i just import PushNotifications and i get this error on IOS, in android it works very good. The error is the following

Captura de ecrã 2022-11-10, às 22 31 03

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:

Captura de ecrã 2022-11-10, às 22 33 07

Thanks for all your help

jorgeferreira008 avatar Nov 10 '22 22:11 jorgeferreira008

I have the same problem with my app.

brainone-pt avatar Nov 11 '22 14:11 brainone-pt

I have the same issue as well

swcloud1 avatar Dec 16 '22 09:12 swcloud1

Any updates?

micutudor avatar Jan 04 '23 00:01 micutudor

same here. any updates?

Gijuno avatar Jan 12 '23 08:01 Gijuno

Same here. Any updates on this one?

serjant avatar Jun 25 '23 20:06 serjant

Have you tried fixing it by installing this package as well ? @react-native-community/push-notification-ios

sufita avatar Jan 25 '24 14:01 sufita