React Native Local and Remote Notifications
MIT License
Bot releases are hidden (Show)
Published by Dallas62 about 3 years ago
Published by Dallas62 about 3 years ago
userInfo
is no more populated with the id
of the notification, initialy included to cancel scheduled notifications. This change will probably not impact you.cancelLocalNotifications
to cancelLocalNotification
(deprecation notice).@react-native-community/push-notification-ios
to version 1.9.0
picture
is now support for both Android and iOS, (alias of bigPictureUrl
for Android).Published by Dallas62 almost 4 years ago
RNPushNotification
to ReactNativePushNotification
resolve 893
userInfo
to be stored in scheduled notification as in iOS (mapped as data
on press or list scheduled notifications).Published by Dallas62 about 4 years ago
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
Published by Dallas62 about 4 years ago
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.