File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -222,9 +222,9 @@ void NotifyListenerSet(Listener* listener) {
222222 (UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert |
223223 UIRemoteNotificationTypeBadge);
224224 [appDelegate registerForRemoteNotificationTypes: allNotificationTypes];
225- } else if (floor (NSFoundationVersionNumber ) < NSFoundationVersionNumber_iOS_10_0 ) {
226- // 8.0 <= iOS version < 10.0
227- // > 10.0 is handled by the if block above
225+ } else if (floor (NSFoundationVersionNumber ) <= NSFoundationVersionNumber_iOS_9_4 ) {
226+ // 8.0 <= iOS version <= 9.4
227+ // >= 10.0 is handled by the first if block above.
228228 UIUserNotificationType allNotificationTypes =
229229 (UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge);
230230 UIUserNotificationSettings *settings =
You can’t perform that action at this time.
0 commit comments