All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
RNPushNotificationRegistrationService
has been removed, old reference in AndroidManifest must be removed.Notifications.registerNotificationActions()
has been removed and is not required foractions
.DeviceEventEmitter.addListener('notificationActionReceived', callback)
is replaced byonAction
.- Extra receiver must be added to manage actions.
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
- (iOS)
userInfo
is now populated with id by default to allow operation based onid
.
- (Android)
actions
accept an array of strings. - (Android)
invokeApp
allow you to handle actions in background without invoking the application. - (Android)
onAction
has been added to.configure()
to handle action in background. - (Android)
PushNotification.invokeApp(notification)
allow you to invoke the application when in background (notification for initial notification). - (Android)
PushNotification.getChannels(callback)
allow you to get the list of channels. - (Android)
PushNotification.channelExists(channel_id, callback)
allow you to check of a channel exists. - (Android)
PushNotification.channelBlocked(channel_id, callback)
allow you to check of a channel is blocked. Based on #1249 - (Android)
PushNotification.deleteChannel(channel_id)
allow you to delete a channel. - (Android) Add
largeIconUrl
to load a largeIcon based on Url. Based on #1444 - (Android) Add
bigPictureUrl
to load a picture based on Url. Based on #1444 - (Android) Add
shortcutId
for better badges management. - (Android) Add
showWhen
to display "when" it was published, default: true. - (Android) Add
groupSummary
to allow grouping notifications. Based on #1253 - (Android) Add
channelId
, custom channel_id in android. Based on #1159 - (Android) Add
channelName
, custom channel_name in android. - (Android) Add
channelDescription
, custom channel_description in android. - (iOS) Add fire date in notification response, NOTE:
push-notification-ios
in version> 1.2.0
#1345 - (iOS)
onRegistrationError
has been added to.configure()
to handleregistrationError
events. - (Android/iOS) Add method getScheduledLocalNotifications()#1466
- (Android) Replace java.util.Random with java.security.SecureRandom #1497
- (Android) WAKE_LOCK permission removed from documentation. #1494
- (Android) Some options were ignored on scheduled/repeating notifications (allowWhileIdle, ignoreInForeground).
- (Android/iOS) popInitialInotification might be ignored in
.configure()
- (Android) Sounds are playing even in Do Not Disturb #1432
- (Android) onNotification fires every time when the app goes from background to foreground #1455
- (Android) java.lang.NullPointerException: Attempt to invoke virtual method 'void com.dieam.reactnativepushnotification.modules.d.c(android.os.Bundle)' on a null object reference #1431
- (Android) When updating 3.4 to 3.5, unable to compile Android #1449
- (Android) Enables the ability to support multiple push providers #1445
- (Android) No sound on notifications #1432
- (Android) onNotification is not calling when app is in background #1446
- (Android)
number
andid
do not crash if NaN is passed in Android.
- (Android) Call
onRegister
when Firebase renew token. - (Android) Added Abandon Permissions method to Android #1425
- (Android) Add a new key in
AndroidManifest.xml
to allow/remove notification in foreground.
<meta-data android:name="com.dieam.reactnativepushnotification.notification_foreground"
android:value="false"/>
- (Android)
number
andid
are now correctly handled as number in Android. - (iOS) Update push-notification-ios to 1.2.0 #1410
- Make sure to import PushNotificationIOS from react-native first #617
- (Android) Fix regression with the importance of the notification.
- (Android) Keep interface parity with PushNotificationIOS #909
- (Android) Unsubscribe from topic #917
- (Android) Add notification data in onNotification #1212
- (Android) Create default channel to receive notification when background / killed.
- (Android) Fix vibrate: false is ignored #878
package.json
fix suffic in main,index
=>index.js
#878
- (Android) Remove specific code for GCM #1322
<service android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService"/>
must be removed.
- Invalid type
Strint
wrong typo - Missing import
- (Android) Allow to silence Android foreground notifications #1183
- (Android) Allow to set the notification to executes on idle #959
- (iOS) Add missing "category" parameter when scheduling local notifications. #457
- Fix: Breaking android x compatibility regression
- Fix: Use FirebaseInstanceId for deviceToken, not from Intent #1355
- Fix: security issue
limit the components that Intent will resolve to
#687 - Fix: remove fishy reference from android project files #1226
- Fix:
JSON value '<null>' of type NSNull cannot be converted to NSDictionary
#1030 - Fix: Fixed foreground FCM banner notifications and notification sound #1042
- Upgrade ShortCutBadger to 1.1.22 #646
- Upgrade exemple to React-Native 0.62.2
- Remove Types from the code use @types/react-native-push-notification instead.
- Remove GCM and C2DM references in README.md
- Rename firebaseVersion to firebaseMessagingVersion #1191 in gradle.build
- Abandon permissions unregisters remote only #1282
- Use full path for manifest #567
- Update broken link to docs #995
- Missing step for android manual installation #1363
- Fix Configuration 'compile' is obsolete and has been replaced with 'implementation' and Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'. It will be removed at the end of 2018. #1106
3.1.2 - 2018-10-16
- Allow to set notification's priority, visibility and importance options on Android, @lorenc-tomasz
aaf2d19
#854 - Added the "old" GCM listener to get compatibility with GCM back, @zo0r
3bd0b6f
#835 - Allow configuring notification channel and color through manifest, @Truebill
f7b4759
#822
- Fix example app cancel notification, @hshiraiwa
1143632
#869 - Update documentation to avoid falling Androids' build, @danibonilha
fc5c722
#879 - Fix react-native link command, @lfkwtz
9708445
#839 - Standardize Changelog, @rodrigobdz
a95af74
#831 - Updated sdk and build tool version on gradle file, @receme
8718e61
#826 - Fix requestPermissions crash, @zo0r
feada0c
#809 - Readme clarification on localNotificationSchedule(), @brownmagik352
beedb16
#816 - Fix title and message for Firebase, @Truebill
ccd9edc
#806 - Fix pop initial for firebase, @Truebill
b61ce08
#807 - Various readme typos, @elitree
a071458
#802