-
Notifications
You must be signed in to change notification settings - Fork 291
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
Showing there is no completion handler with notification id even if finish is called #216
Comments
I noticed that Are you calling |
@joebernard Still showing same error even if I add |
Could it be that APNS is throttling your notifications when you start sending multiple manually? Maybe Apple is delaying them and they are reaching your device late. Do you see the completion handler error for all notifications or just when they are delayed? |
@joebernard Notifications are not getting delayed, they are reaching on time but the listener handler |
I confirm [RNCPushNotificationIOS didReceiveRemoteNotification:userInfo fetchCompletionHandler:^(UIBackgroundFetchResult result){
// Never called
}]; along with this code: PushNotificationIOS.addEventListener('notification', (notification) => {
notification.finish(PushNotificationIOS.FetchResult.NoData);
}); |
I'm using remote notification listener like this and
onRemoteNotification
called when a remote notification come but when i trigger multiple notifications manuallyonRemoteNotification
stopped calling for sometime and then start calling after like 10-15 minutes.In xcode i'm getting this
There is no completion handler with notification id: 4A0009xxxx-xxx
but i have called finish function at the end ofonRemoteNotification
, so why i'm getting this no completion handler warning ?and is it because of this no completion handler warning
onRemoteNotification
stopped calling for sometime ?The text was updated successfully, but these errors were encountered: