react-native-push-notification
Advanced tools
Changelog
[7.0.0] 2020-12-23
RNPushNotification
to ReactNativePushNotification
resolve #893userInfo
to be stored in scheduled notification as in iOS (mapped as data
on press or list scheduled notifications).Changelog
[6.1.0] 2020-09-28
AndroidManifest
:
<meta-data android:name="com.dieam.reactnativepushnotification.default_notification_channel_id" android:value="..."/>
If not defined, fallback to the Firebase value of:
<meta-data android:name="com.google.firebase.messaging.default_notification_channel_id" android:value="..."/>
If not defined, fallback to the default Firebase channel id fcm_fallback_notification_channel
Changelog
[6.0.0] 2020-09-26
AndroidManifest
are deprecated: <meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_name" android:value="..."/>
<meta-data android:name="com.dieam.reactnativepushnotification.notification_channel_description" android:value="..."/>
<meta-data android:name="com.dieam.reactnativepushnotification.channel_create_default" android:value="..."/>
localNotification
and localNotificationSchedule
:
channelId
becomes mandatory (warning if not provided)channelName
is deprecatedchannelDescription
is deprecatedimportance
is deprecatedBOOT_COMPLETED
, this should allow more intent action such as QUICKBOOT_POWERON
. It's recommended to update AndroidManifest
, the RNPushNotificationBootEventReceiver
to:
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationBootEventReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
</intent-filter>
</receiver>
@react-native-community/push-notification-ios
is now a peerDependency
, please make sure that you installed this library with NPM or YARN.data
property after been pressed by user. When sending notification + data and app in background.notificationPriority
image
tag
visibility
data.twi_body
is no more used to trigger a notification in notification-center. Revert of #744@react-native-community/push-notification-ios
, fixe the value of userInteraction
@react-native-community/push-notification-ios#122.