GameThrive init and Corona's registerForPushNotifications?

Now that Corona has added the registerForPushNotifications, how does that interact with the similar methods in GameThrive?   I’d been working on a app that was working fine with GameThrive a few months ago, but now after updating to 2015.2561(iOS - Enterprise) I never get a token in the IdsAvailableCallback - just the player id.

I put in my own handler for the “notification” event and I do see a push token coming back.  Does the game thrive plugin need an update from 1.7.3?

Hello,

I just tried our GameThrive SDK with 2015.261 on an iOS 8.1.3 device and the IdsAvailableCallback is working. Do you have the following in your build.settings:

settings = { iphone = { plist = { CoronaDelegates = { "GameThriveCoronaDelegate" } }, }, }

The above change is required for Corona Enterprise Builds 2542+.

If the above doesn’t help could you paste the code your using?

Thanks.

Ah!  That was the missing piece.  I see that now buried in the documentation.  Thanks!

Do I need to call Corona’s (new) registerForPushNotifications method before GameThrive or is this handled internally by the Game Thrive plugin?

No problem, glad it is working now for you.

Nope, GameThrive.Init() on its own will take care of everything for you. Unless you called GameThrive.DisableAutoRegister() before GameThrive.Init() then you just need to call GameThrive.RegisterForNotifications() sometime later in your app to prompt the user.

Corona’s registerForPushNotifications might be ok to call with GameThrive but it is not well tested so we don’t recommend it. However we tested Corona’s new local notifications plugin and it works without any issues.

Thanks.

Hello,

I just tried our GameThrive SDK with 2015.261 on an iOS 8.1.3 device and the IdsAvailableCallback is working. Do you have the following in your build.settings:

settings = { iphone = { plist = { CoronaDelegates = { "GameThriveCoronaDelegate" } }, }, }

The above change is required for Corona Enterprise Builds 2542+.

If the above doesn’t help could you paste the code your using?

Thanks.

Ah!  That was the missing piece.  I see that now buried in the documentation.  Thanks!

Do I need to call Corona’s (new) registerForPushNotifications method before GameThrive or is this handled internally by the Game Thrive plugin?

No problem, glad it is working now for you.

Nope, GameThrive.Init() on its own will take care of everything for you. Unless you called GameThrive.DisableAutoRegister() before GameThrive.Init() then you just need to call GameThrive.RegisterForNotifications() sometime later in your app to prompt the user.

Corona’s registerForPushNotifications might be ok to call with GameThrive but it is not well tested so we don’t recommend it. However we tested Corona’s new local notifications plugin and it works without any issues.

Thanks.