react-native-fcm

react native module for firebase cloud messaging and local notification

MIT License

Downloads
290
Stars
1.7K
Committers
100

Bot releases are hidden (Show)

react-native-fcm - use UNNotificationRequest for iOS

Published by evollu almost 8 years ago

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'
}
react-native-fcm - bug fixes

Published by evollu almost 8 years ago

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

react-native-fcm - add upstream for iOS

Published by evollu about 8 years ago

thanks to @tolu360

react-native-fcm - [android] always broadcast before showing local notification

Published by evollu about 8 years ago

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

react-native-fcm - show_in_foreground flag

Published by evollu about 8 years ago

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)

react-native-fcm - flash flag and upstream message for android

Published by evollu about 8 years ago

merge #132 #138

react-native-fcm - fix android null point issue

Published by evollu about 8 years ago

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

react-native-fcm - ios SDK 3.6.0 and iOS 10 support

Published by evollu about 8 years ago

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

react-native-fcm - bug fix

Published by evollu about 8 years ago

react-native-fcm - android scheduled notification fix

Published by evollu about 8 years ago

  • 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
react-native-fcm - fix setBadge function

Published by evollu about 8 years ago

react-native-fcm - fix getInitialNotification

Published by evollu about 8 years ago

bug fix for getInitialNotification for android

react-native-fcm - local notification

Published by evollu about 8 years ago

  • Add support to presenting instant notification and schedule recurring notification for both iOS and Android
  • Breaking change: FCM.initData is removed. Use FCM.getIntialNotification().then() instead
react-native-fcm - add open from tray flag

Published by evollu about 8 years ago

react-native-fcm - use onNewIntent from RN 0.30.0

Published by evollu over 8 years ago

this release requires minimum RN 0.30.0, not backward compatible

react-native-fcm - Fix android error

Published by evollu over 8 years ago

Android will encounter "can not parse UserHandler" error on starting the application. Fix this through a try catch block

react-native-fcm - Fix iOS notification registration

Published by evollu over 8 years ago

react-native-fcm - Add support for rn 0.29.0

Published by evollu over 8 years ago

  • get initial intent inside module, support rn 0.29.0 (for people upgrading from older version, change new FIRMessagingPackage(getIntent()) back to new FIRMessagingPackage())
  • remove initAction as it is just duplication of initData