question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why on Xamarin Forms push notifications come twice only for Android?

See original GitHub issue

I’m using PushSharp through WCF Service on the server and plugin from this repository on the client(phone). From the server i send only one notifications(add logging and ascertained). But on the client only for Android in method void IPushNotificationListener.OnMessage(JObject arameters, DeviceType deviceType) message appears twice in fact the same time. How to fix this bug?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
TimofeyBurakcommented, Oct 27, 2016

Check that there are no additional receivers in your AndroidManifest.xml. We had the same problem because push notification were handled both by Xamarin.PushNotification plugin and by com.google.android.gms.gcm.GcmReceiver receiver defined in AndroidManifest. Removing excess receiver fixed the problem.

0reactions
influscommented, Sep 8, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Xamarin Firebase push notification - intermittent duplicate ...
On Android, sometimes it receives duplicate notifications: intermittent (not always); on some devices only; happen on all scenarios when app is ...
Read more >
Duplicated Notifications
Usually duplicate notifications occur due to sending the same push data multiple times. If you see multiple notifications sent in your Delivery Tab...
Read more >
SOS! Xamarin Forms Push Notifications is driving me crazy ...
Phone B (Asus Zenphone) receives the 'notification' only when it is opened. - PhoneB can receive notification only when App is Opened. When...
Read more >
Send push notifications to Xamarin.Forms apps using ...
Learn how to push notifications to Xamarin.Forms apps that use Azure Notification Hubs via a backend service.
Read more >
Implement Push Notifications with Xamarin.Forms ... - YouTube
Forms Android app. We will see how to setup a Firebase project, get all the bits we need all the way down to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found