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
{{ message }}
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.
-[MXKAccountManager isPushAvailable] should now handle iOS 10 UserNotifications framework to check if local notifications are enabled.
The problem is that with the UserNotifications framework the notification settings are available only asynchronously with [UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] method.
So isPushAvailable should evolve to be asynchronous now.
Note, it could also be great to:
have a LocalNotificationService and RemoteNotificationService to decouple complexity
avoid handling push notification from MXKAccount.
The text was updated successfully, but these errors were encountered:
-[MXKAccountManager isPushAvailable]
should now handle iOS 10UserNotifications
framework to check if local notifications are enabled.The problem is that with the
UserNotifications
framework the notification settings are available only asynchronously with[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:]
method.So
isPushAvailable
should evolve to be asynchronous now.Note, it could also be great to:
LocalNotificationService
andRemoteNotificationService
to decouple complexityMXKAccount
.The text was updated successfully, but these errors were encountered: