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 - change buildtool version to 25

Published by evollu over 7 years ago

this is a side branch that allow users to use with buildtool v25
will merge to main branched once react-native team upgrade their default version

react-native-fcm - bug fix

Published by evollu over 7 years ago

#359

react-native-fcm - add _actionIdentifier

Published by evollu over 7 years ago

  • add action_identifier from iOS aps into _actionIdentifier #328
  • fix iOS filename typo
react-native-fcm - fix iOS9 local notification callback

Published by evollu over 7 years ago

react-native-fcm - fix notification callback return empty

Published by evollu over 7 years ago

react-native-fcm - completionHandler

Published by evollu over 7 years ago

BREAKING CHANGES for all iOS users:

  • iOS appDelegate.m integration changed, check readme
  • FCM.on('notification') is changed, use FCM.on(FCMEvent.Notification)
  • FCM.on('refreshToken') is changed, use FCM.on(FCMEvent.RefreshToken)

Detail:
call iOS completionHandler after javascript code finishes rather than immediately. callback takes async functions.
use constants instead of string (like 'notification' or 'refreshToken') to avoid typo etc.

react-native-fcm - better cocoapod support

Published by evollu over 7 years ago

#278
Potential breaking change for people for using cocoapod or framework

react-native-fcm - fix FCM not connected on first load for ios

Published by evollu over 7 years ago

react-native-fcm - fix large_icon android

Published by evollu almost 8 years ago

#269

react-native-fcm - use .remove() for unsubscribing

Published by evollu almost 8 years ago

#263 use .remove() for unsubscribing so we are inline with RN's api convension. sorry for the breaking changes

now you need to do this:

this.refreshTokenListener = FCM.on('refreshToken', (token) => {})
this.notificationListener = FCM.on('notification', (notif)=>{})

componentWillUnmount() {
    // stop listening for events
    this.notificationListener.remove();
    this.refreshTokenListener.remove();
}
react-native-fcm - ios fix for RN 0.40.0

Published by evollu almost 8 years ago

because of react native's breaking change, need to change all headers

react-native-fcm - bug fixes

Published by evollu almost 8 years ago

#245 Fix iOS crash on startup due to wrong thread
fix android sound name with extension

react-native-fcm - bug fixes

Published by evollu almost 8 years ago

fix sound for local notification
Support bitmap urls in large-icon (#238)
Support install from podfile (#232)

react-native-fcm - fix presentLocalNotification in iOS

Published by evollu almost 8 years ago

react-native-fcm - fix crash in iOS 10 when calling presentLocalNotification

Published by evollu almost 8 years ago

react-native-fcm - fix crash on presentlocalnotification

Published by evollu almost 8 years ago

react-native-fcm - custom android notification and removeAllDeliveredNotifications

Published by evollu almost 8 years ago

  • add removeAllDeliveredNotifications and removeDeliveredNotification
  • add "custom_notification" property to allow custom notification
  • update readme
react-native-fcm - clear notification center for ios 9-

Published by evollu almost 8 years ago

call set badge to 0 to clear ios9 notification center

react-native-fcm - revert header change

Published by evollu almost 8 years ago

revert #209

react-native-fcm - badgeCount for android

Published by evollu almost 8 years ago

  • update iOS headers #209
  • support badgeCount for android #207
  • fix appDelegate.m import issue #211