ios8 - iOS Push Notifications with Moon APNS - works on local, but not on server side -


so, using moon apns ios push notifications , worked fine until recent. firstly, apple no longer supports ssl, changed tls instead.

second thing (and strange one), if invoke webservice on local computer send push notification, works fine. but, when publish code our testing server, push notifications not delivered phone, code same!

one other thing, after sendtoapple method called, ok status code, notification doesn't come.

any ideas?

i'm posting our solution, maybe has same problem.

first of all, moon apns uses ssl encryption, deprecated apple. should alter moon apns library use tls instead. second thing is, make sure compile library newtonsoft json library version 6.0.0.0.

our problem was, used older version of json library (i think version 4.x.x.x) , somewhere deep in library exception occurred , returned 0 in sendtoapple. ironically, apple uses 0 status ok, tricky found out problem lies.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -