Android-Blackberry GCM: unable to register ported Android application in GCM services

We have some problems registering our device so that we can receive push notifications in our Android app.

Here is our scenario:

- We have a Blackberry 10 Dev Alpha device with OS version: 10.0.9.388

- Already registered in push service

-Created android.cfg and changed the values ​​using those received from Blackberry:

-Added manifest permissions.

-We deploy the application using the debug token.

-Device is connected to the Blackberry network (we can add contacts, communicate via BBM, etc.)

The structure of the generated .bar file looks fine. (.apk, manifest -permissions too too, android.cfg)

GCM works fine on Android devices, but when we debug it on a BlackBerry dev alpha device, the registration method from the GCMRegistrar class does not register our device, and the getRegistrationId method always returns an empty string.

An exception is thrown, so we do not know what does not work in the register method. Is there a way to see some magazines?

We tried to connect to the device via SSH, but we don’t know where to find some logs about it (if any).

+5
source share
2 answers

After updating the OS version from 10.0.9.388 to 10.0.10.263, our work on GCM began to work (advice from people from the Blackberry support group).

GCMRegistrar.register, ! Blackberry SDK .

Android Blackberry, , android.cfg , Blackberry mail push-. , push- .bar.

+1

GCM BlackBerry, GCM Google, Google Play. , Google Play (, Dev Alpha), GCM.

0

All Articles