You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/notifications/push/amplify_push_notifications/android/src/main/kotlin/com/amazonaws/amplify/amplify_push_notifications/AmplifyPushNotificationsPlugin.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -157,7 +157,9 @@ class AmplifyPushNotificationsPlugin(
157
157
}
158
158
159
159
overridefunonNewIntent(intent:Intent): Boolean {
160
-
val payload =NotificationPayload.fromIntent(intent)
160
+
val payload = intent?.getParcelableExtra("amplifyNotificationPayload", NotificationPayload::class.java)
161
+
//TODO: tyllark - Use Amplify Android when they update their fromIntent to use the new getParcelableExtra signiture
0 commit comments