Android-Blackberry GCM: Can't register ported android app to GCM services

。_饼干妹妹 提交于 2019-12-04 07:26:46

After updating OS version from 10.0.9.388 to 10.0.10.263, our GCM implementation started working (advice by people from Blackberry Support team).

We got the registration id after calling GCMRegistrar.register and now we are getting notifications! So there is no need to use Blackberry SDK or any other third party library.

If you are porting your android app to blackberry, make sure your android.cfg is well formed and with valid data received from Blackberry mail after registration for push services. Also check if push notification permission are in the manifest file in your repackaged .bar file.

GCM will not work on a BlackBerry device, as GCM is part of the Google Services, which are served through Google Play. Any device that doesn't have Google Play (like the Dev Alpha) will not be able to use GCM.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!