iOS Question Push notification error code = 3000

Shay

Well-Known Member
Licensed User
Longtime User
I followed this 2 times, exactly how it is written / video (also started over in apple site - deleted all(
https://www.b4x.com/android/forum/threads/push-notifications.48562/#content

I am getting error on:
Private Sub Application_PushToken (Success As Boolean, Token() As Byte)

Error getting token: <B4IExceptionWrapper: Error Domain=NSCocoaErrorDomain Code=3000 "אין מחרוזת זכות ׳aps-environment׳ תקינה עבור היישום " UserInfo=0x17da17d0 {NSLocalizedDescription=אין מחרוזת זכות ׳aps-environment׳ תקינה עבור היישום }>
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Based on the error message it is a configuration error on your side. I recommend you to delete the keys and go over the steps again.

Also check that push notifications appear in the mobile provision details:
SS-2015-01-27_08.32.59.png
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I followed it again, but now I am getting error in compilation:
Check dependencies
Code Sign error: Provisioning profile does not match bundle identifier: The provisioning profile specified in your build settings (“push”) has an AppID of “com.shay.push” which does not match your bundle identifier “com.shay.client”.

but my second provision (my main one is) "com.shay.*"
and I choose the "push" app id from the list (as in the video)
 
Upvote 0

Shay

Well-Known Member
Licensed User
Longtime User
I finally figure it
on app id, the explicit name MUST be the same name as your app id (main app id)
 
Upvote 0
Top