Skip to content

Commit

Permalink
release: Amplify JS release (aws-amplify#13612)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanZhengYP authored Jul 19, 2024
2 parents dc2fc7b + 60885b7 commit 880dfdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"peerDependencies": {
"react-native": ">=0.70",
"react-native-get-random-values": ">=1.9.0"
"react-native-get-random-values": ">=1.8.0"
},
"devDependencies": {
"@aws-amplify/rtn-push-notification": "1.2.30",
Expand Down
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 880dfdc

Please sign in to comment.