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) {
222
222
(UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert |
223
223
UIRemoteNotificationTypeBadge);
224
224
[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.
228
228
UIUserNotificationType allNotificationTypes =
229
229
(UIUserNotificationTypeSound | UIUserNotificationTypeAlert | UIUserNotificationTypeBadge);
230
230
UIUserNotificationSettings *settings =
You can’t perform that action at this time.
0 commit comments