ios
ios copied to clipboard
Completion handler is not called
The provided completionHandler
is being saved to the remoteNotificationCallbacks
dictionary, but the native onFinishRemoteNotification:(NSString *)notificationId fetchResult:(UIBackgroundFetchResult)result
function didn't actually lookup and call the completion handler.
I believe this fixes that bug and addresses #216 #244 #297 as well.
Looks great. I think the example project needs to be updated as well 👍🏼
@leethree I updated the example project and rebased my PR. I still need to re-confirm that this is functioning properly before it gets merged since there seem to have been quite a few other commits since I opened this.
This is still an issue -- any updates on when this can get reviewed and merged?
This merged work looks like an approximate revert of 1506ddf36 / #241, which was marked as addressing #163. Do we expect #163 not to be re-introduced?
@chrisbobbe @Naturalclar I'm experiencing this issue https://github.com/react-native-push-notification/ios/issues/163 after bumping to 1.11.0. (previously 1.10.1) I think, in my project, there's some duplicated handling of FCM event. (I'm using a couple of libraries that deal with FCM events.)
I think we need to be clear about the responsibilities of this library.