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

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jan 20, 2017
1 parent 29ecf1e commit e697aa1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,28 @@
<img src="docs/images/firebase-logo.png" width="116px" height="32px" alt="Firebase"/>


## 3.9.2 (2017, January 20)

[Full changelog](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/compare/3.9.1...3.9.2)

### SDK versions

If version numbers __changed__, clean your platform folders to avoid build errors.
Also, for Android update your Google Repository in the Android SDK manager (type `android` on the command prompt),
and for iOS do a `pod repo update` to fetch the latest versions from Cocoapods.

- iOS: 3.11.x
- Android: 10.0.x

### Fixes
- [#237](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/237) Notification message not shown when app is in the background
- [#243](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/243) iOS: Push Notifications not working in Background or when application is reopened
- [#258](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/258) iOS Notification not received in background mode
- [#264](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/264) iOS: Push Notifications not working in Background in Production




## 3.9.1 (2017, January 18)

[Full changelog](https://github.com/EddyVerbruggen/nativescript-plugin-firebase/compare/3.9.0...3.9.1)
Expand Down
7 changes: 5 additions & 2 deletions docs/MESSAGING.md
Expand Up @@ -41,7 +41,7 @@ Open /platforms/ios/yourproject.__xcworkspace__ (!) and go to your project's tar

> Without this enabled you will receive push messages in the foreground, but **NOT in the background** / when the app is killed.
##### copy the entitlements file
#### Copy the entitlements file
The previous step created a the file`platforms/ios/YourAppName/Resources/YourAppName.entitlements`.
Copy that file to `app/App_Resources/iOS/` (if it doesn't exist yet, otherwise merge its contents),
so it's not removed when you remove and re-add the iOS platform. The relevant content for background push in that file is:
Expand All @@ -51,7 +51,7 @@ so it's not removed when you remove and re-add the iOS platform. The relevant co
<string>development</string>
```

#### Receiving remote notifications in the background
#### Allow processing when a background push is received
Open `app/App_Resources/iOS/Info.plist` and add this to the bottom:

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

#### Cleanup up an old script
Versions up to 3.9.2 of this plugin added the script `/hooks/after-prepare/firebase-install-ios-entitlements.js`, please remove it.

#### 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 e697aa1

Please sign in to comment.