-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why on Xamarin Forms push notifications come twice only for Android? #86
Comments
Hi On iOS you are getting just one notification and on Amdroid two? Is it displaying two local notifications? Sent from my iPhone
|
On iOS -one. On Android two notifications with the same content come parallel in two different threads. |
I'm not sure why this is happening since the OnMessage call is just done On Wednesday, 7 September 2016, influs notifications@github.com wrote:
|
do screens of this case for Android in Debug mode version 1.2.4 |
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. |
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?The text was updated successfully, but these errors were encountered: