Skip to content

Releases: evollu/react-native-fcm

use UNNotificationRequest for iOS

28 Nov 19:24
Compare
Choose a tag to compare

as iOS 10.1 is deprecating old notification reminder, it is good idea to switch the implementation to new API. This will make new feature in the future easy.

BREAKING CHANGE:
ios: The result of getScheduledNotifications will only contain the notification object you passed when you schedule notification. (now it only returns what was in data property
OLD:

{
   title: 'aaa',
   data: {
        title:'aaa'
   },
   action: null
}

NEW:

{
   title: 'aaa'
}

bug fixes

28 Nov 18:44
Compare
Choose a tag to compare

include #168 Add FCM notification details to the foreground notification
add CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES for cocoapod

add upstream for iOS

14 Oct 17:36
Compare
Choose a tag to compare

[android] always broadcast before showing local notification

12 Oct 14:56
Compare
Choose a tag to compare

to be inline with iOS.
You can differentiate using opened_from_tray flag

show_in_foreground flag

07 Oct 19:43
Compare
Choose a tag to compare

add show_in_foreground flag for remote and local notification
(notify the change required in iOS appDelegate.m)
NOTE: this flag won't impact the behavior of Android Firebase remote notification (banner won't show up if app is in foreground)

flash flag and upstream message for android

03 Oct 20:00
Compare
Choose a tag to compare

fix android null point issue

30 Sep 21:45
Compare
Choose a tag to compare

prevent #137 from crashing. return null if currentActivity is null

ios SDK 3.6.0 and iOS 10 support

22 Sep 03:45
Compare
Choose a tag to compare

updated readme guide for iOS setup
fixed issue where initial notification not set correctly in iOS 10
fixed push notification registration for iOS 10

BREAKING CHANGE:
FCM.on('localNotification' is deprecated. all notification will go into FCM.on('notification' and local notification will have a flag local_notification;
xcode 8 is required

bug fix

21 Sep 23:20
Compare
Choose a tag to compare
v2.1.1

bump version

android scheduled notification fix

20 Sep 17:31
Compare
Choose a tag to compare
  • if android app is in foreground, notification will not show. FCM.on('localNotification' with be triggered immediately. This is to mimic the behavior of iOS local notification.
  • merge pull #81