EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB325667: Get no valid 'aps-environment' error in mobile device log when using push notification on mobile devices against MicroStrategy Mobile


Community Admin

• Strategy


Get no valid 'aps-environment' error in mobile device log when using push notification on mobile devices against MicroStrategy Mobile.

SYMPTOM:
After following the steps outlined in KB35792 - How to enable Alert Push Notification when using MicroStrategy Mobile 9.0.2 and later , no push notifications are received on the Mobile devices against Strategy Mobile 10.6. Mobile device log returns the following error message:
[Severe] [MSIAppContext.handleDidFailToRegisterForRemoteNotificationsWithError] [1] [Failed to register the device with the APN with error no valid 'aps-environment' entitlement string found for application]
CAUSE:
Missing the aps-environment key in the mobile application’s entitlements.plist.
ACTION

  • Enable Push Notification in XCode:

ka04W00000148k0QAA_0EM4400000029mx.jpeg
  • Add the aps-environment key to Entitlements.plist.

ka04W00000148k0QAA_0EM4400000029my.jpeg

Users can also refer to the following documentation provided by Apple for more details:
https://developer.apple.com/library/content/documentation/Miscellaneous/Reference/EntitlementKeyReference/Chapters/EnablingLocalAndPushNotifications.html


Comment

0 comments

Details

Knowledge Article

Published:

April 13, 2017

Last Updated:

April 13, 2017