Java-MPNS not working properly

486 views
Skip to first unread message

DeepakM

unread,
Nov 4, 2011, 9:22:49 AM11/4/11
to Java client for Apple Push Notification service (APNs), mah...@notnoop.com
Hello,
I am posting MPNS related issue here, as the home page (https://
github.com/notnoop/java-mpns) suggested to post in this group.

My client code is working fine - I have tested using a .NET code. I
want to use this java library to post notifications. Following is my
code :

MpnsService service = MPNS.newService().build();
MpnsNotification notification =
MPNS.newNotification().tile().count(2).title("Tile message").build();
String subscriptionUri = "http://db3.notify.live.net/
throttledthirdparty/01.00/DF...Pok";
service.push(subscriptionUri, notification);

This is not throwing any error - but I am not getting any notification
on the device. Can anyone please help ?

Thanks !
Reply all
Reply to author
Forward
0 new messages