01-11-2013 07:58 AM
I've unzipped the signed .bar file, and yes, it do have the android.cfg file just like your example, like this :
<?xml version="1.0" encoding="utf-8"?>
but is still generate error : "handleRegistration: registrationId = null, error = SERVICE_NOT_AVAILABLE, unregistered = null"
am I still missing something here?
From the device-side you should be using HTTP for the ppgurl not HTTPS. HTTPS is only used on the server side. Please try using:
Let me know if that helps to resolve the issue.
01-11-2013 10:39 AM
Thanks garett, i've tried that, removed the https and now using the http only, but still got the same error,
still no clue..
is it because because i'm referencing to google gcm.jar ?
01-11-2013 10:50 AM
01-14-2013 07:49 AM
Please try again with a new debug token. If the old token was created before push permissions were applied then it would not have the proper permissions to allow you to test Push.
01-15-2013 02:41 AM
01-15-2013 07:47 AM
Push is working fine, I have tested it in many many apps on BlackBerry 10 and have worked with numerous devs that have this working. If you continue to have issues please start a new thread and I will help out from there
01-16-2013 11:41 AM
YES, now the push is working, I created new debug token
i've looked up the debug token details, in the system actions, it now has the sys_use_consumer_push which i don't see earlier.
Thanks Garett .. all questions solved now..
01-16-2013 11:44 AM
03-11-2013 07:24 AM
i tried everything mentioned in this thread, everything looks just fine, the .cfg file and values, the debug token and all is great. the thing is i'm still getting the same error please help
here is the error stack trace:
BroadcastReceiver: BroadcastReceiver trying to return result during a non-ordered broadcast
BroadcastReceiver: java.lang.RuntimeException: BroadcastReceiver trying to return result during a non-ordered broadcast
BroadcastReceiver: at android.content.BroadcastReceiver.checkSynchronous
BroadcastReceiver: at android.content.BroadcastReceiver.setResult(Broadc
BroadcastReceiver: at com.google.android.gcm.GCMBroadcastReceiver.onRece
BroadcastReceiver: at android.app.ActivityThread.handleReceiver(Activity
BroadcastReceiver: at android.app.ActivityThread.access$2400(ActivityThr
BroadcastReceiver: at android.app.ActivityThread$H.handleMessage(Activit
BroadcastReceiver: at android.os.Handler.dispatchMessage(Handler.java:99
BroadcastReceiver: at android.os.Looper.loop(Looper.java:123)
BroadcastReceiver: at android.app.ActivityThread.main(ActivityThread.jav
BroadcastReceiver: at java.lang.reflect.Method.invokeNative(Native Method)
BroadcastReceiver: at java.lang.reflect.Method.invoke(Method.java:507)
BroadcastReceiver: at com.android.internal.os.ZygoteInit$MethodAndArgsCa
BroadcastReceiver: at com.android.internal.os.ZygoteInit.main(ZygoteInit
BroadcastReceiver: at dalvik.system.NativeStart.main(Native Method)
GCMBaseIntentService: handleRegistration: registrationId = null, error = SERVICE_NOT_AVAILABLE, unregistered = null
GCMBaseIntentService: Registration error: SERVICE_NOT_AVAILABLE
GCMBaseIntentService: Scheduling registration retry, backoff = 486646 (384000)
this is my cfg file values: