react native module for firebase cloud messaging and local notification
MIT License
Bot releases are hidden (Show)
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'
}
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
Published by evollu about 8 years ago
thanks to @tolu360
Published by evollu about 8 years ago
to be inline with iOS.
You can differentiate using opened_from_tray 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)
Published by evollu about 8 years ago
merge #132 #138
Published by evollu about 8 years ago
prevent #137 from crashing. return null if currentActivity is null
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
Published by evollu about 8 years ago
Published by evollu about 8 years ago
FCM.on('localNotification'
with be triggered immediately. This is to mimic the behavior of iOS local notification.Published by evollu about 8 years ago
Published by evollu about 8 years ago
bug fix for getInitialNotification for android
Published by evollu about 8 years ago
FCM.getIntialNotification().then()
insteadPublished by evollu about 8 years ago
Published by evollu over 8 years ago
this release requires minimum RN 0.30.0, not backward compatible
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
Published by evollu over 8 years ago
Published by evollu over 8 years ago