Please Help Me! I have problem on Xcode when trying setting on IOS
hoadesign09 opened this issue · 3 comments
hoadesign09 commented
ajlee4 commented
Check if you have added to the beginning of the file
#import <UserNotifications/UserNotifications.h>
#import <RNCPushNotificationIOS.h>
tekhamzazafar commented
Make sure to Install 'yarn add @react-native-community/push-notification-ios'
- $(SRCROOT)/../node_modules/@react-native-community/push-notification-ios/ios works for me
- pods clean
- pasting these two include libraries on top of AppDelegate.mm '#import <RNCPushNotificationIOS.h>
#import <UserNotifications/UserNotifications.h>'
My issue has been done by doing this hope you will get help from this.
anton25360 commented
See #150
Moving the imports to lines 2+3 fixed it for me