Reputation: 745
I have recently started using Ionic Capacitor. I have migrated my notification successfully for Android using the following tutorial https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/
But when it comes to IOS i am getting the following warning:
ITMS-90078: Missing Push Notification Entitlement - Your app appears to register with the Apple Push Notification service, but the app signature's entitlements do not include the "aps-environment" entitlement. If your app uses the Apple Push Notification service, make sure your App ID is enabled for Push Notification in the Provisioning Portal, and resubmit after signing your app with a Distribution provisioning profile that includes the "aps-environment" entitlement. Xcode does not automatically copy the aps-environment entitlement from provisioning profiles at build time. This behavior is intentional. To use this entitlement, either enable Push Notifications in the project editor's Capabilities pane, or manually add the entitlement to your entitlements file. For more information, see https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1.
I have used a "Apple Push Notification service SSL (Sandbox & Production)" certifaction for my Firebase setup.
And in Ionic Appflow, i have also added a new App Store Provisioning Profile.
Must i do anything else?
Upvotes: 0
Views: 1135
Reputation: 53301
Check the prerequisites:
https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/#prerequisites
In particular the number 3: Ensure Push Notification capabilities have been enabled in your application in Xcode
That link explains how to add Capabilities, you have to search for Push and double click it or drag it to the Signing & Capabilities pane.
Upvotes: 3