yarj / javapns

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

notifications not delivered from google server but delivered from localhost - no error reported #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.created a simple servlet with 1 line: 
/Push.alert("Hello World!", "cert.p12", "pass", true, "0XXXXXXXXXXXXXXXXXXeAA");
2.deploy from eclipse and run on google chrome
3.upload to google app engine and run on google chrome

What is the expected output? What do you see instead?
notification should be arriving both times, only arrives from local 
server(eclipse)
this is the response from google server:
 DEBUG javapns.notification.Payload - Adding alert [loc-key':'notificatio
 DEBUG javapns.notification.Payload - Adding badge [1]
 DEBUG javapns.notification.Payload - Adding sound [default]
 DEBUG javapns.notification.PushNotificationManager - Reading responses
 DEBUG javapns.notification.PushNotificationManager - Closing connection
This request caused a new process to be started for your application, and thus 
caused your application code to be loaded for the first time. This requ...

What version of the product are you using? On what operating system?

I am using googleappengie 1.8.1 and javaapnes 2.2 on windows 7
Please provide any additional information below.

application, certificate and device unchanged. but it will just not report any 
error on remote, output is prettymuch the same as on localhost, still the 
notification won't reach the device.

Thank you for your attention

Original issue reported on code.google.com by jlag...@answare-tech.com on 28 Jun 2013 at 1:50

GoogleCodeExporter commented 8 years ago
As stated in the General Requirements for JavaPNS, Google App Engine is not 
supported at this time.

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