You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
priority:"high", // (optional) set notification priority, default: high
327
327
visibility:"private", // (optional) set notification visibility, default: private
328
328
importance:"high", // (optional) set notification importance, default: high
329
-
allowWhileIdle:false, // (optional) set notification to work while on doze, default: false
330
329
ignoreInForeground:false, // (optional) if true, the notification will not be visible when the app is in the foreground (useful for parity with how iOS notifications appear)
331
330
shortcutId:"shortcut-id", // (optional) If this notification is duplicative of a Launcher shortcut, sets the id of the shortcut, in case the Launcher wants to hide the shortcut, default undefined
332
331
channelId:"your-custom-channel-id", // (optional) custom channelId, if the channel doesn't exist, it will be created with options passed above (importance, vibration, sound). Once the channel is created, the channel will not be update. Make sure your channelId is different if you change these options. If you have created a custom channel, it will apply options of the channel.
Copy file name to clipboardExpand all lines: android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationListenerService.java
0 commit comments