Questions tagged [moonapns]

A C# library for sending Apple Push Notifications from a .Net application.

A C# library for sending Apple Push Notifications from a .Net application.

Reference

26 questions
5
votes
1 answer

Moon-APNS Message with Accent

I'm using this code to send Apple Push Notifications to iPhone: Public Function SendPush() As String Dim rt As String = "Sended!" Dim deviceToken As String = "my token" Dim message As String = "Parabéns é Campeão!" Try Dim…
3
votes
1 answer

Push Notification using C# Push Sharp library is not working on production server

After certificate is generated, I've only exported the private key (without the certificate) in Keychain access, exported as .p12 and used the file, and it was not worked. I've exported only certificate and exported as .p12 and used the file, and it…
Rajesh
  • 390
  • 4
  • 14
3
votes
4 answers

A call to SSPI failed, see inner exception

try { _apnsStream.AuthenticateAsClient("gateway.sandbox.push.apple.com", certificates, System.Security.Authentication.SslProtocols.Ssl3, false); } I am getting this error "A call to SSPI failed, see inner exception" at the above line while…
2
votes
1 answer

set content-available using moon apns

referring to this link : http://www.objc.io/issue-5/multitasking.html i can now send a silent push notification on ios by setting content-available=1 i'm using moon apns on c# to send the push notification but i can not find this property to send a…
2
votes
0 answers

Safe handle has been closed - Moon APNS

I am trying to develop my own Apple Push Notification Server application to send push notification to iOS devices. I download the source code for Moon-APNS from GitHub and modified it to fit with my Web API application. The following line of code…
Michael Kniskern
  • 23,162
  • 65
  • 156
  • 224
2
votes
2 answers

Stuck creating p12 file for MoonAPNS

I am having some trouble creating my .p12 certificate. I have previously created an application with push notification, this works fine. The application takes the users device id and saves it into a database. I have added the code into my new…
1
vote
1 answer

Content Available missing in moon-apns payload

I need to send a payload using moon-apns. currently i can see that the payload structure of NotificationPayload is like below- public class NotificationPayload { public NotificationPayload(string deviceToken); public…
1
vote
3 answers

PushSharp APNS Service Stop working after windows shutdown

I can send notifications to my iPhone device succeffully using Push Sharp via sandbox APNS server but I am having a problem. I have generated .cer and .p12 files and then installed them on my windows 8 development machine successfully. I used…
muhammad kashif
  • 2,466
  • 3
  • 22
  • 47
1
vote
0 answers

MoonAPNS timing out is there a way of preventing this?

I have successfully been able to implement amendable push notifications to send to all of the apple devices that have downloaded the application. I store all of the device ID's in a database. However, the app that i am tying to send a push…
1
vote
1 answer

Push notification not appearing

I can't seem to get MoonAPNS to work. I know there have been a few questions on the same issue, for example this one. I've followed the tutorial on creating the p12 certificate and successfully used it with a php script to send a notification to the…
Robert
  • 5,191
  • 43
  • 59
  • 113
1
vote
1 answer

MoonAPNS The operation is not allowed on non-connected sockets

I am using Moonapns asp.net library to send push notifications to apple device. it works fine on my local machine which is 64bit OS but when i am trying to deploy it to client's server with 64bit OS it gives following error , any one guide me what…
UMAR-MOBITSOLUTIONS
  • 73,009
  • 94
  • 197
  • 273
0
votes
0 answers

How to store formatted text with images in mongodb

I am creating a medium type application where the user will add text and between text, there can be some images. When the user submits the post it should get stored in the MongoDB. Currently, my schema design looks like this title: text, post:…
0
votes
0 answers

System.Net.Security no longer has BeginRead

I'm trying to use moon-apns in my .NET core 1 project. However, when I moved the required files over to my project, it looks like sslStream no long has BeginRead(). The version of sslStream in the moon-apns project has this at the top of the…
user6728767
  • 803
  • 2
  • 11
  • 23
0
votes
3 answers

Apple Push Notifications - The credentials supplied to the package were not recognized

I am receiving "The credentials supplied to the package were not recognized" message when attempting to send a push notification from a site in IIS. I have a console application that runs exactly the same code on the server which runs fine, it is…
Sean Forman
  • 382
  • 4
  • 14
0
votes
0 answers

unable to push notification to ios in server (GoDaddy)

I'm implementing ios push notification (c#) using moonapns.I'm using p12 certificate.It was working on my local machine but not able to push notifications after deploying in GoDaddy. It was throwing 'The given path's format is not supported.' or URI…
sowjanya
  • 1
  • 2
1
2