Skip to content

Commit

Permalink
fix(rtn-push-notification): wrong completion handler key (aws-amplify…
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Jul 17, 2024
1 parent 1cc40e3 commit af46e39
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class AmplifyRTNPushNotificationManager {
let completionHandlerId = UUID().uuidString
var userInfoCopy = userInfo

remoteNotificationCompletionHandlers[completionHandlerIdKey] = completionHandler
remoteNotificationCompletionHandlers[completionHandlerId] = completionHandler
userInfoCopy[completionHandlerIdKey] = completionHandlerId

sharedEventManager.sendEventToJS(
Expand Down

0 comments on commit af46e39

Please sign in to comment.