Sidekick Cloud build - iOS - Cloud messaging

89 Views Asked by At

I'm pretty new in app development, that's why I'm using Cloud Builds with Nativescript Sidekick.

I have well installed/setup Firebase, everything works for Android, but for iOS, I don't get messages. Nativescript's Firebase plugin from Eddy Verbruggen says that you must must enable push notifications from xcode to receive messages.

NB : In firebase, in my ios App (of firebase), my device is well detected, but I'm not receiving anything.

I don't know how to have an .xcodeproj from a cloud build. Do you know how to fix this ?

Kind regards.

1

There are 1 best solutions below

3
Manoj On

Since you are using cloud builds, you may enable the Cloud Messaging from Developer Portal. You must have a paid Apple Developer Account to do so, login to https://developer.apple.com/ and then navigate to Identifiers section, edit your app identifier to include Push Notifications Capabilities.

Then navigate to Keys section, create a auth key and add the generated key to your Firebase iOS app. Detailed instructions can be found at Firebase Docs

I hope you already configured the entitlement file as described in the plugin docs.