iOS Push Notifications Working on iOS 8 But Not on iOS 7 in iOS SDK 8.1
NickName:77base Ask DateTime:2014-11-05T18:59:43

iOS Push Notifications Working on iOS 8 But Not on iOS 7 in iOS SDK 8.1

if([application respondsToSelector:@selector(registerUserNotificationSettings:)]) { 

         [self registerForiOS8PushSettings]; //for iOS8  

    } else {
//iOS7 or earlier

     [[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

    }

Unable to get the push notification to iOS7 device. didRegisterForRemoteNotificatiosnWithDeviceToken get called, In fact Message is successfully delivered. Working fine in iOS8.

Copyright Notice:Content Author:「77base」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/26755530/ios-push-notifications-working-on-ios-8-but-not-on-ios-7-in-ios-sdk-8-1

More about “iOS Push Notifications Working on iOS 8 But Not on iOS 7 in iOS SDK 8.1” related questions

iOS Push Notifications Working on iOS 8 But Not on iOS 7 (Using 8.1 SDK)

After upgrading to Xcode 6.1 and using iOS 8.1 as the Base SDK, I added the conditionals below to support the push notifications in both iOS 7 and iOS 8 devices: // http://stackoverflow.com/questi...

Show Detail

Push notifications are not working in updated version from ios7 to ios8.1

I updated my device from ios7 to ios8.1.Push notifications are not working in updated version. I did same process for push notifications which is done in ios7. The code is also updated #ifdef

Show Detail

iOS Push Notifications Working on iOS 8 But Not on iOS 7 in iOS SDK 8.1

if([application respondsToSelector:@selector(registerUserNotificationSettings:)]) { [self registerForiOS8PushSettings]; //for iOS8 } else { //iOS7 or earlier [[UIApplication

Show Detail

Push notification alert not working on iOS 7 but it does on iOS 8

I want to implement push notifications in my app. In iOS 8, at the app launch, the user gets the classic "Would you like app to send notifications?", but in iOS 7 it doesn't work and I fail to

Show Detail

Push notifications are not working in iOS 9

I have upgraded my devices to iOS 9 and my Xcode environment to 7.0 beta. Push notifications are not working in iOS 9? Here is my code: float ver = [[[UIDevice currentDevice] systemVersion]

Show Detail

Push notifications aren't working on iOS 7 but working on iOS8

I have an app where i am sending push notifications using APNS. I have configured notifications in app using following code if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) { ...

Show Detail

Background push working for iOS7 but not for iOS8

I've got an app which is using background push, things are working fine when the app runs on a device with iOS 7 but the pushes are not being delivered to the app if its in the background if its ru...

Show Detail

How to debug push notifications on iOS 7 or iOS 8 device?

I have a problem with voip push notifications not arriving sometimes to the app delegate and I want to track where the problem is. I enabled push logging on the device as described in Apple's tech...

Show Detail

Deployment target iOS8 but want to support iOS7 - Deprecated Warnings

I have an app and I want to target the new iOS 8.1 but, I also want people who have iOS 7 to be able to use my app. So for example for my push notifications, in my app delegate I have if ([

Show Detail

Registering for Parse notifications iOS7 and iOS8, compiler warnings

I have coded my app to receive Parse notifications in iOS8 and recently discovered these wouldn't work in iOS& so had to change my code to as follows in AppDelegate.m: viewDidLoad: if ([appli...

Show Detail