-
Notifications
You must be signed in to change notification settings - Fork 292
Open
Description
import PushNotificationIOS from "@react-native-community/push-notification-ios";
componentDidMount() {
PushNotificationIOS.addEventListener("notification", this.onRemoteNotification);
}
onRemoteNotification = (notification) => {
let data = notification.getData();
if (data) {
// ...
}
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 manually onRemoteNotification
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 of onRemoteNotification
, 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 ?
kenikori, linus-komnick and malgorzatatanska
Metadata
Metadata
Assignees
Labels
No labels