-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PushNotificationIOS #565
Comments
Seems to work after manually adding the RCTPushNotificationManager.* files into xcode |
Same issue here, dropping /Libraries/PushNotifcationIOS/RCTPushNotificationManager.* works. |
Did you manage to get it working? I have everything up and running (Parse back-end to send push notifications) but 'PushNotificationIOS.addEventListener('notification', this._onNotification);' is never triggered. I get the notification from iOS but not the event in the React native part. I've added a breakpoint in didReceiveRemoteNotification in RCTPushNotificationManager.m but it never halts. |
@jonaswindey - did you figure that out? ping me if not and I'll reopen |
PushNotification.checkPermissions() does not work as it returns 'Cannot read property 'checkPermissions' of undefined'. Diving in further, require('NativeModules') does not have a PushNotificationManager which is referenced by PushNotificationIOS.js
Output of NativeModules:
Object {UIActivityIndicatorViewManager: Object, AppState: Object, LocationObserver: Object, TabBarItemManager: Object, NetworkImageViewManager: Object…}ActionSheetManager: ObjectAdSupport: ObjectAlertManager: ObjectAppState: ObjectAsyncLocalStorage: ObjectCameraRollManager: ObjectDataManager: ObjectDatePickerManager: ObjectExceptionsManager: ObjectLocationObserver: ObjectMapManager: ObjectNavItemManager: ObjectNavigatorManager: ObjectNetworkImageViewManager: ObjectPickerManager: ObjectRawTextManager: ObjectReachability: ObjectScrollViewManager: ObjectSliderManager: ObjectSourceCode: ObjectStaticImageManager: ObjectStatusBarManager: ObjectSwitchManager: ObjectTabBarItemManager: ObjectTabBarManager: ObjectTextFieldManager: ObjectTextManager: ObjectTiming: ObjectUIActivityIndicatorViewManager: ObjectUIManager: ObjectVibration: ObjectViewManager: ObjectWebViewManager: Object__proto__: Object
I've gone through the steps and enabled PushNotifications for the project.
The text was updated successfully, but these errors were encountered: