08-19-2013 09:22 AM
The application ported the Android need to register device on GCM to send the PUSH. This works with Eval URL, but on Production Fail!
The android.cfg eval:
<?xml version="1.0" encoding="utf-8"?> <android> <push> <appid>XXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</a
ppid> <ppgurl>http://cpXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX. pushapi.eval.blackberry.com</ppgurl> <tokenprefix></tokenprefix> </push> </android>
and the android.cfg production look like:
<?xml version="1.0" encoding="utf-8"?> <android> <push> <appid>XXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX</a
ppid> <ppgurl>https://cpXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX .pushapi.na.blackberry.com</ppgurl> <tokenprefix></tokenprefix> </push> </android>
this have a https and 3 digits in appID.
To production work need to publish on App World Black Berry or I can testing on my device?
Solved! Go to Solution.
08-21-2013 09:55 AM
3 quick things that should help:
1) You should only use CPXXXX in your URL, it looks like you may be using the full APP ID in the below examples which is incorrect
2) The client should always be 'HTTP'. Using HTTPS is only of the server side, using HTTPS on the client will preevnt the client from registering
3) If you have any other apps on the device using these push credentials (EVAL or PROD) please delete them then reboot the device before retesting
Hope the above gets this fixed for you!