
"dependencies": {
"react": "16.8.6",
"react-native": "0.60.4",
"react-native-notifications": "^2.0.6"
},
Any luck, Did you got fix for this issue?
Hello,
Having the same issue,
how did you fix it please? (@amarjeet89 or @HoangTrung )
Thanks
@Guiro44
I downgraded my reactive version.
"react-native": "0.59.8",
"react-native-notifications": "^2.0.6",
Shouldn't have to downgrade React to fix this. Are there any viable solutions to this?
Hi,
Thanks for you answers.
@bkarst , You can try to fix it by doing:
Same issue.
"react": "16.8.3",
"react-native": "0.59.10",
"react-native-notifications": "^2.1.3",
I've found out that a folder pointed in the Header Search Paths property contains the RCTEventEmmiter.h file but it's under node_modules/react-native/React/Modules/ folder. When I changed the import @HoangTrung mentioned, to React/Modules/RCTEventEmitter.h I got different errors :D But i guess this RCTEventEmitter part got compiled properly.
Maybe this will lead someone to some solution.
Worked for me by using pods instead, however I am on react-native 0.60.5
I unlinked the library and added this line to podfile:
pod 'react-native-notifications', :path => '../node_modules/react-native-notifications'
@jakecronin I have tried adding it with pods but than I get "RNNotifications.h" not found
here is my workaround on these version of packages:
"react-native-notifications": "^2.0.6",
"react": "16.9.0",
"react-native": "0.61.2",
I follow this link for adding Manual linking:
hint: for Header Search Paths setting I've add "${PODS_CONFIGURATION_BUILD_DIR}/react-native-notifications" separately on _Debug_ and _Release_ (don't forget the double quotation arount the path)
also before running go to ios folder and run pod install again
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Worked for me by using pods instead, however I am on react-native 0.60.5
I unlinked the library and added this line to podfile:
pod 'react-native-notifications', :path => '../node_modules/react-native-notifications'
Been at it for days, this worked for me.
yarn add react-native-notifications
followed direction to add to AppDelegate.m
added the following line to my pod file
ran pod install
App build succeeded
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
The issue has been closed for inactivity.
Issue still unresolved.
Most helpful comment
Worked for me by using pods instead, however I am on react-native 0.60.5
I unlinked the library and added this line to podfile:
pod 'react-native-notifications', :path => '../node_modules/react-native-notifications'