Have been trying to puzzle through this unsuccessfully. Seems like:
sending and listening to notification (via DeviceEventEmitter like in example App.js) work fine
sending a localNotification via addNotificationRequest() seems to work mostly ok - there's a console log message from the package [my_app] notifier request success and if i schedule the send in the future i will be able to see it returned when i call PushNotificationIOS.getPendingNotificationRequests().
but the listener subscribed to localNotification events never fires.
Possibly unrelated but occasionally there is a slightly ominous console log message: [UIKitCore] Found no UIEvent for backing event of type: 3; contextId: 0x125C4048 but it doesn't happen all of the time (or even 25% of the time) when firing a localNotification.
Modeled a minimal reproducible sample based on the example App.js in this repo:
Have been trying to puzzle through this unsuccessfully. Seems like:
notification
(viaDeviceEventEmitter
like in exampleApp.js
) work finelocalNotification
viaaddNotificationRequest()
seems to work mostly ok - there's a console log message from the package[my_app] notifier request success
and if i schedule the send in the future i will be able to see it returned when i callPushNotificationIOS.getPendingNotificationRequests()
.localNotification
events never fires.Possibly unrelated but occasionally there is a slightly ominous console log message:
[UIKitCore] Found no UIEvent for backing event of type: 3; contextId: 0x125C4048
but it doesn't happen all of the time (or even 25% of the time) when firing alocalNotification
.Modeled a minimal reproducible sample based on the example
App.js
in this repo:Console Logs From Pushing The Above Buttons: