ios icon indicating copy to clipboard operation
ios copied to clipboard

Completion handler is not called

Open apfritts opened this issue 3 years ago • 3 comments

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.

apfritts avatar Jul 24 '21 23:07 apfritts

Looks great. I think the example project needs to be updated as well 👍🏼

leethree avatar Jul 26 '21 16:07 leethree

@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.

apfritts avatar Nov 23 '21 14:11 apfritts

This is still an issue -- any updates on when this can get reviewed and merged?

christophercarney avatar Feb 17 '22 15:02 christophercarney

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 avatar Mar 02 '23 22:03 chrisbobbe

@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.

floydkim avatar Jan 29 '24 05:01 floydkim