No Valid "ape-environment" entitlement string found

Hi,

I’ve used GameThrive in quite a few previous apps, but this is my first app with the updated GameThrive SDK. I’m getting this error on iOS:

didFailToRegisterForRemoteNotificationsWithError: no valid ‘aps-environment’ entitlement string found for application

The popup comes, I press “Yes”, but the dashboard still shows “no” for the user. Works perfectly on Android. I’m not delaying the prompt or anything fancy, just the basic init call.

Any ideas?

Side question: How do you get your app icon to show up on Android with the notification? Not in the status bar, but the one that shows up in your notification tray/lock screen.

Hello,

The error your getting is due to the provisioning profile your building your app with doesn’t have Push Notifications turned on. Double check you have the correct one selected. If you do, double check that Push Notifications are turned on on Apple’s dev site under Identifiers>App IDs for you app like the screenshot in step 2.1 of our guide. Also check that Push Notifications show up under  Provisioning Profiles for your app like in step 4.2. If all that looks ok then make sure to sync your Apple ID with Xcode by going to Xcode>Preferences… then click on the Accounts tab, select your account, and press the “View Details…” button. Click on the arrow button on the bottom left of the box the pops up. After this restart Corona and build again. Our iOS certificate documentation http://documentation.gamethrive.com/v1.0/docs/generating-an-ios-push-certificate

On Android the icon should show up on the left side of the notification when viewed from the notification area. Do you have screenshot of the issue? What version of Android is the device running?

Thanks.

Wow, thanks for reminding me. I made new profiles this morning, and *then* I added GameThrive. I totally forgot to make new ones after that.

It happens on Lollipop (Nexus 7), but I’m pretty sure it happened on KitKat as well (I’ll try to verify). I’ll get a screenshot later today. It’s the left side of the notification just like you mentioned (there’s no app image there). It happens for local notifications and push, so not specific to GameThrive.

Hello,

The error your getting is due to the provisioning profile your building your app with doesn’t have Push Notifications turned on. Double check you have the correct one selected. If you do, double check that Push Notifications are turned on on Apple’s dev site under Identifiers>App IDs for you app like the screenshot in step 2.1 of our guide. Also check that Push Notifications show up under  Provisioning Profiles for your app like in step 4.2. If all that looks ok then make sure to sync your Apple ID with Xcode by going to Xcode>Preferences… then click on the Accounts tab, select your account, and press the “View Details…” button. Click on the arrow button on the bottom left of the box the pops up. After this restart Corona and build again. Our iOS certificate documentation http://documentation.gamethrive.com/v1.0/docs/generating-an-ios-push-certificate

On Android the icon should show up on the left side of the notification when viewed from the notification area. Do you have screenshot of the issue? What version of Android is the device running?

Thanks.

Wow, thanks for reminding me. I made new profiles this morning, and *then* I added GameThrive. I totally forgot to make new ones after that.

It happens on Lollipop (Nexus 7), but I’m pretty sure it happened on KitKat as well (I’ll try to verify). I’ll get a screenshot later today. It’s the left side of the notification just like you mentioned (there’s no app image there). It happens for local notifications and push, so not specific to GameThrive.