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

Commit 57ef819

Browse files
Still problems with push messages #225
1 parent f193b66 commit 57ef819

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/MESSAGING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Add the following services in the `app/App_Resources/Android/AndroidManifest.xml
3232
```
3333

3434
### iOS
35-
If you didn't choose this feature during installation you can uncomment `Firebase/Messaging` in [Podfile](../platforms/ios/Podfile)
35+
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.
3636

3737
#### Receiving remote notifications in the background
3838
Open `app/App_Resources/iOS/Info.plist` and add this to the bottom:
@@ -44,6 +44,10 @@ Open `app/App_Resources/iOS/Info.plist` and add this to the bottom:
4444
</array>
4545
```
4646

47+
Open Xcode and add push notification support:
48+
49+
<img src="images/push-xcode-config.png" width="600px" alt="Push Xcode config"/>
50+
4751
#### Provisioning hell
4852
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.
4953

docs/images/push-xcode-config.png

73.2 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-plugin-firebase",
3-
"version": "3.8.3",
3+
"version": "3.8.4",
44
"description": "Fire. Base. Firebase!",
55
"main": "firebase.js",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)