Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29594

Duplicate notifications - react-native-push-notification

$
0
0

I have a problem with react-native-push-notification module on Android. After correct set up the notifications are delivered for generated device token. Unfortunately, every push notification is duplicated.

At that moment I do not implement the channel name and the remote push notification is delivered twice to "Other" category. When there is a channel name Android displays the push notification as "Other" and "Category Name" in the Notification Module.

<meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_name"
                android:value="Channel Name"/>
<meta-data  android:name="com.dieam.reactnativepushnotification.notification_channel_description"
                android:value="Channel description"/>

Is there any possibility to leave only one push notification. I am sure that push notification is sent once.

I know that the library is not supported but unfortunately I do not have time for a change. I need a quick fix.

I will be glad for help!


Viewing all articles
Browse latest Browse all 29594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>