Releases: hansemannn/titanium-firebase-cloud-messaging
Releases · hansemannn/titanium-firebase-cloud-messaging
Release list
Android 3.6.0
What's changed
- Add
didOpenNotificationfor taps on module-posted notifications while the app is running, with the payload inevent.message.dataand foreground/background state inevent.message.inBackground. - Fix duplicate launches and extra splash screens when opening a notification, and deliver each tap through a single route.
- Give each notification its own pending intent so notifications arriving in the same second retain their own payloads.
- Deliver silent data-only pushes through
didReceiveMessagewhile the app is backgrounded and its JavaScript runtime is alive. Message events now includemessage.inBackground.
Migration
Existing Android apps must listen for didOpenNotification to handle notification taps while the app is running. Up to 3.5.4 these taps arrived through the launcher intent. Cold starts continue to use fcm_data in the launch intent, and lastData remains available.
FirebaseCloudMessaging.addEventListener('didOpenNotification', function (event) {
const payload = event.message.data;
const wasInBackground = event.message.inBackground;
// Handle the notification tap.
});Build
Packaged with Titanium SDK 13.4.1.GA using ti build -p android --build-only.
Notification-tap changes: #170
Full changelog: android-3.5.4...android-3.6.0
iOS 13.0.0
What's Changed
- android: fire didReceiveMessage for silent data-only pushes while bac… by @mittalkamal29 in #166
- chore(ios): update the Firebase iOS SDK to 12.17.0 by @Astrovic in #168
New Contributors
- @mittalkamal29 made their first contribution in #166
Full Changelog: android-3.5.4...ios-13.0.0
Android 3.5.4
What's Changed
Full Changelog: android-3.5.3...android-3.5.4
iOS 12.0.0
What's Changed
Full Changelog: android-3.5.3...ios-12.0.0
Android 3.5.3
What's Changed
- fix(android): remove error-level debug log in new Braze integration @hansemannn in 8463664
Full Changelog: android-3.5.2...android-3.5.3
Android 3.5.2
What's Changed
- feat(android): be able to call use Braze in combination with Firebase Cloud Messaging @hansemannn in #162
Full Changelog: android-3.5.1...android-3.5.2
Android 3.5.1
What's Changed
- fix(android): compiled with SDK 12.5.1.GA as 12.6.x breaks build process by @prashantsaini1 in #161
Full Changelog: android-3.5.0...android-3.5.1
Android 3.5.0
What's Changed
- fix: (android) fix checkSelfPermission error on android 13+ by @jordanbisato in #154
- clean up readme by @m1ga in #158
- feat(android): add notification fields to fcm_data by @m1ga in #159
- feat(android): upgrade
firebase-messagingto24.1.0by @prashantsaini1 in #160
New Contributors
- @jordanbisato made their first contribution in #154
- @prashantsaini1 made their first contribution in #160
Full Changelog: ios-10.0.0...android-3.5.0
iOS 10.0.0
- Update the Firebase iOS SDK to 10.19.0