Open MihaMarkic opened 2 years ago
@MihaMarkic
Did you find if this was true?
OneSignal.Current.RegisterForPushNotifications()
is now
var result = await OneSignal.Default.PromptForPushNotificationsWithUserResponse();
@robfrancis I think so. And instead of using
OneSignal.Current.StartInit(...).HandleNotificationOpened(Globals.HandleNotificationOpened)
I'm using
OneSignal.Default.NotificationOpened += Globals.HandleNotificationOpened;
How can we help?
I'm updating to 4.x and wondering whether
PromptForPushNotificationsWithUserResponse()
is equivalent for oldRegisterForPushNotifications()
. Upgrade docs doesn't mention it.Code of Conduct