iOS Question Problem in iOS push notification

Matt S.

Member
Licensed User
Hi.
I used this topic's codes for push notification:
https://www.b4x.com/android/forum/threads/b4x-firebase-push-notifications-2023.148715/

and this topic for generating and using APN Authentication Key in Firebase:
https://www.b4x.com/android/forum/t...n-keys-vs-authentication-certificates.126402/

so I did NOT add Push Notifications capability in Certificate of the Provision Profile. Is it Ok?
Because I get error in this line:
B4X: Copy
#Entitlement: <key>aps-environment</key><string>production</string>
Should I remove this line or change the Certificate?
 
Last edited:
This line should be there.

You do need to enable push notifications in the identifier settings:

1778734156738.png


And create an auth key:

1778734300225.png
 
Upvote 0

Similar Threads

Replies
38
Views
44K
Replies
4
Views
10K
Replies
25
Views
27K
  • Article Article
Replies
88
Views
63K
Back
Top