We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bcf3ab commit b8e6b58Copy full SHA for b8e6b58
AmplifyPlugins/Notifications/Push/Tests/PushNotificationHostApp/PushNotificationHostApp/ContentView.swift
@@ -59,7 +59,7 @@ struct ContentView: View {
59
60
func listenHubEvent() {
61
pushNotificationHubSubscription = Amplify.Hub.listen(to: .pushNotifications) { payload in
62
- if payload.eventName == HubPayload.EventName.Notifications.Push.registerForRemoteNotifications {
+ if payload.eventName == HubPayload.EventName.Notifications.Push.requestNotificationsPermissions {
63
self.hubEvents.append(payload.eventDescription)
64
}
65
0 commit comments