Push notification issues in C# for iPhone? - c#

I have used the push notification in my app and I have used our own server, it communicates with the apple server. But the problem is, the notifications are queued in the apple server and it doesn't send any notification to the device.
In server side, they are using C# for push notification services and they have traced the value in that method "service.QueueNotification(alertNotification)". So always the notifications are in the QUEUE and it doesn't send any notification to the device.

I have solved the issue, i am testing the notification in the adhoc mode. The problem is, my developer account was expired so that the notification always in the queue from the apple server and it doesn't send any notification to the device. After that i have used some different valid accounts and it work's fine now.
Thanks!

Related

Offline server that hosts push notifications to Android and IOS

Heya im trying to create an app that people can use to send push notifications to eachohter. The only catch is that the users will be working in an offline server within a company. They won't have access to the internet so connecting to something like Azure Notification Hubs is not possible. The only thing I have been able to find is, that it is possible to create a server from which you could send push notifications. Only problem is, I can't find how to send these notifications. If anyone has any kind of clue how I could send the notifications to the server and then to the users, I would be forever gratefull. Thanks!

Xamarin Firebase push notification - intermittent duplicate push notification received on Android

My Android APP is written in C#, it uses Azure Push Notification service to send push notification to Android via Firebase (FCM), iOS via Apple Push service. The push notification registration happens when the app is installed (the app also removed all previous registrations).
The push notification on iOS is working perfectly.
On Android, sometimes it receives duplicate notifications:
intermittent (not always)
on some devices only
happen on all scenarios when app is in foreground, background, killed
duplicate notifications received at the same time
and based on my DB record, i'm sure the application sends out only 1 notification.
I had suspected the registration process caused the duplicate token in FCM. But later on I found out the duplication happens out of the blue, without any new uninstall/install happened on the device.
Any idea please? this has taken a lot of my time.
This same issue I also had. To solve it, before you register with the Notification Hub, unregister the previous tags belongs to that device,
await Task.Run(() =>
{
hub.Unregister();
});
Then you register with the Notification Hub again.

Apple Push Notifications dropped from Azure

I have developed a ASP.NET MVC web application that exposes several APIs. One such API is to send a push notification via apple APNS to users. In my c# code i run parallel tasks for each notification that should be sent out. We are then calling Apple APIs direct. Some users are complaining that intermittently they do not receive push notifications. I wanted to know if there are some things to be aware of when attempting to send push notifications from Azure?
Thanks in advance.

Pushsharp not working as a windows service

I want to use Pushsharp for sending push notifications on ios devices. So I made a simple windows forms program for sending notifications on my device. I store my apns certificate in local certificate store. Program works great and notification arrives but when I use this code for work in windows service it doesn't work. There aren't any events from pushbroker and I really don't know how to fix this. I give necessary permissions to read certificate from store to user who launch the service.

Windows Mobile 6.0/6.5 - Push Notification

My mobile application needs to ping web service (WCF) periodically to get the latest data from server. The problem is, this is done periodically even if there isn't anything new on the server. Is there any way that Server notifies device about the change? Like Push Notification? I have read that Push Notifications can be done by SMS and Email. But, both has disadvantages.
You can try with long lived HTTP requests...
http://msdn.microsoft.com/en-us/library/aa446486.aspx

Categories