yarj / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

push whith a queue must debug can works #178

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
public void send (List<Device> devices, Object keystore, String password, 
boolean production) {
      /* Build a blank payload to customize */
        PushNotificationPayload payload = PushNotificationPayload.complex();

      /* Customize the payload */
        payload.addAlert("Hello World!");
        payload.addCustomDictionary("mykey1", "My Value 1");
        payload.addCustomDictionary("mykey2", 2);
        // etc.

      /* Push your custom payload */
        List<PushedNotification> notifications = Push.payload(payload, keystore, password, production, devices);

}

i am runing the code can push but i debug it works why? who can help me?

Original issue reported on code.google.com by gxue...@gmail.com on 23 Apr 2013 at 9:41

GoogleCodeExporter commented 8 years ago
I do not understand what you mean.  What does not work exactly?

Please provide a copy of the log output to help understand what is wrong...

Original comment by sype...@gmail.com on 8 May 2013 at 9:16

GoogleCodeExporter commented 8 years ago
Closing for lack of feedback from original poster.

Original comment by sype...@gmail.com on 10 Jul 2013 at 9:34