iOS 8 build not registering push notifications

I’m working on a new app that is using GameThrive.  On iOS 6 and 7 devices the IdsAvailableCallback returns the push token but on iOS 8 it is returning nil.  In the GameThrive dashboard it is showing the iOS 8 device as “Subscribed=No” as well.

Is game thrive currently broken for iOS 8 - I know they did change the registration commands…

I have (Enterprise) build 2014.2439.  The GameThrive plugin directory is listed as 2014.2381

Hello,

Are you seeing this warning in Xcode from the device?

[####] <Warning>: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.

If so this means Corona hasn’t updated their native Object-C calls for iOS 8 SDK(Xcode 6). If you build your project with XCode 5.1.1 and run the app on your device again remote push notifications should work on iOS 8 devices. This is because iOS 8 will run your app in a compatibility like mode if it was built with the old iOS SDK. You might also need to change the “Command Line Tools:” option under Xcode>Preferences… under the Locations tab.

I am guessing Corona will be creating a fix for this soon but until then using the old Xcode will work.

Thanks.

Ah – there it is: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later

I completely looked past that error – I was probably focusing on the GameThrive specific log messages.

Thanks!

No problem, let us know if you have any more questions for us.

btw, nice picture of a TI SN74HC00 Quadruple 2-input NAND gate. :slight_smile:

GameThrive plugin users no longer have to do this work around when on Corona 2014.2393 or later after following these update instructions http://forums.coronalabs.com/topic/51526-important-update-gamethrive-sdk-140/

Corona, any update on this? This not working in iOS 8 using  Corona 2014.2393 and Xcode 5

All notifications should work with Corona 2392 when Xcode 5.1.1 is set as your default Xcode on iOS 8 devices. Are you seeing the “registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later” error in Xcode when you run your game?

If your using GameThrive you can use Xcode 5.1.1 or Xcode 6.X and all features will work.

Thanks for the reply jkasten. I’m using Xcode 5.0.2 for now… trying to get out some new features before I update.

I’m still debugging, it might be my build settings and certificates. I had to update my settings to work with TestFlightApp (not Apple’s version) and in doing so I might have impacted Parse’s build settings. So many things to juggle – Corona version, certificates, provisioning profiles, Parse requirements, TestFlightApp requirements…

I do wonder though, if Push will work on iOS 8 after I get the right combination. Posts all over these forums seem to say it won’t work. But I have some hope due to your posts, since I am using an older Xcode and should be able to benefit from compatibility mode.

I’d gladly check out GameThrive, but I’m actually doing a business app, not a game.  ;-)

Appreciate your posts though!

Jack,

I am not as sure if notifications on iOS 8 will work with Xcode 5.0.2 as I haven’t tested it. You can keep multiple versions of Xcode on your system and can try out Xcode 5.1.1 to see if it fixes your issue. See my post on how to set which Xcode Corona is using here http://forums.coronalabs.com/topic/51264-registerforremotenotificationtypes-is-not-supported-in-ios-80-and-later/?p=266509

One thing to keep in mind is if you plan on putting your app on iTunes connect in the future you will need to build with Xcode 5.1.1 or later to be accepted on the iTunes store.

GameThrive isn’t limited to games, we focus integrating our SDK with game engines and our wording is built around player instead of user but our service works great with apps too. You can follow our guide to quickly and easy try out GameThrive with your app. http://docs.coronalabs.com/daily/plugin/GameThrivePushNotifications/

Thanks.

Hello,

Are you seeing this warning in Xcode from the device?

[####] <Warning>: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.

If so this means Corona hasn’t updated their native Object-C calls for iOS 8 SDK(Xcode 6). If you build your project with XCode 5.1.1 and run the app on your device again remote push notifications should work on iOS 8 devices. This is because iOS 8 will run your app in a compatibility like mode if it was built with the old iOS SDK. You might also need to change the “Command Line Tools:” option under Xcode>Preferences… under the Locations tab.

I am guessing Corona will be creating a fix for this soon but until then using the old Xcode will work.

Thanks.

Ah – there it is: registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later

I completely looked past that error – I was probably focusing on the GameThrive specific log messages.

Thanks!

No problem, let us know if you have any more questions for us.

btw, nice picture of a TI SN74HC00 Quadruple 2-input NAND gate. :slight_smile:

GameThrive plugin users no longer have to do this work around when on Corona 2014.2393 or later after following these update instructions http://forums.coronalabs.com/topic/51526-important-update-gamethrive-sdk-140/

Corona, any update on this? This not working in iOS 8 using  Corona 2014.2393 and Xcode 5

All notifications should work with Corona 2392 when Xcode 5.1.1 is set as your default Xcode on iOS 8 devices. Are you seeing the “registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later” error in Xcode when you run your game?

If your using GameThrive you can use Xcode 5.1.1 or Xcode 6.X and all features will work.

Thanks for the reply jkasten. I’m using Xcode 5.0.2 for now… trying to get out some new features before I update.

I’m still debugging, it might be my build settings and certificates. I had to update my settings to work with TestFlightApp (not Apple’s version) and in doing so I might have impacted Parse’s build settings. So many things to juggle – Corona version, certificates, provisioning profiles, Parse requirements, TestFlightApp requirements…

I do wonder though, if Push will work on iOS 8 after I get the right combination. Posts all over these forums seem to say it won’t work. But I have some hope due to your posts, since I am using an older Xcode and should be able to benefit from compatibility mode.

I’d gladly check out GameThrive, but I’m actually doing a business app, not a game.  ;-)

Appreciate your posts though!

Jack,

I am not as sure if notifications on iOS 8 will work with Xcode 5.0.2 as I haven’t tested it. You can keep multiple versions of Xcode on your system and can try out Xcode 5.1.1 to see if it fixes your issue. See my post on how to set which Xcode Corona is using here http://forums.coronalabs.com/topic/51264-registerforremotenotificationtypes-is-not-supported-in-ios-80-and-later/?p=266509

One thing to keep in mind is if you plan on putting your app on iTunes connect in the future you will need to build with Xcode 5.1.1 or later to be accepted on the iTunes store.

GameThrive isn’t limited to games, we focus integrating our SDK with game engines and our wording is built around player instead of user but our service works great with apps too. You can follow our guide to quickly and easy try out GameThrive with your app. http://docs.coronalabs.com/daily/plugin/GameThrivePushNotifications/

Thanks.