Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Still problems with push messages #225
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Nov 23, 2016
1 parent 57ef819 commit b351837
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/MESSAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Add the following services in the `app/App_Resources/Android/AndroidManifest.xml
### iOS
If you didn't choose this feature during installation you can run the "post install" script again (see the main readme) to add messaging support.

#### Enable push support in Xcode

<img src="images/push-xcode-config.png" width="600px" alt="Push Xcode config"/>

#### Receiving remote notifications in the background
Open `app/App_Resources/iOS/Info.plist` and add this to the bottom:

Expand All @@ -44,10 +48,6 @@ Open `app/App_Resources/iOS/Info.plist` and add this to the bottom:
</array>
```

Open Xcode and add push notification support:

<img src="images/push-xcode-config.png" width="600px" alt="Push Xcode config"/>

#### Provisioning hell
Follow [this guide](https://firebase.google.com/docs/cloud-messaging/ios/certs) to the letter. Once you've done it run `tns run ios` and upon starting the app it should prompt you for notification support. That also works on the simulator, but actually receiving notifications is _only_ possible on a real device.

Expand Down

0 comments on commit b351837

Please sign in to comment.