Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PushNotificationEvent.token return a empty string #103

Open
bohachu opened this issue Jun 20, 2017 · 2 comments
Open

PushNotificationEvent.token return a empty string #103

bohachu opened this issue Jun 20, 2017 · 2 comments

Comments

@bohachu
Copy link

bohachu commented Jun 20, 2017

I download the latest version AirPushNotification.ane and test it in my project.
I register PushNotificationEvent.PERMISSION_GIVEN_WITH_TOKEN_EVENT and calling PushNotification.instance.registerForPushNotification();
It will trigger this event but when I check the token, it's a empty string.
My device OS is iOS 9.3.5
I use Adobe AIR SDK AdobeAIRSDK 25.0.0.134 and AdobeAIRSDK 26.0.0.118 package my test ipa, all have the same problem.
Can someone help to solve this problem?
Thank you

@chanra
Copy link

chanra commented Jun 21, 2017

maybe you did add the entitlement for iOS

keychain-access-groups XXXXXXXXX.* get-task-allow application-identifier YOUR_BUNDLE_ID com.apple.developer.team-identifier XXXXXXXXX aps-environment development ]]>

@bohachu
Copy link
Author

bohachu commented Jun 23, 2017

Hi chanra,

Thanks for your reply.
Did you have any sample xml code of entitlement?
Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants