极光推送中容易忽略设置的地方

使用极光推送的时候,把jar包代码都集成好了,APPKEY也设置好了,测试推送一下,发现手机端无法收到消息,仔细检查后发现忽略了一个权限,
特别要加上这个权限
<!-- Required -->
<permission
android:name="应用包名.permission.JPUSH_MESSAGE"
android:protectionLevel="signature" />
补充:JPushInterface.getRegistrationID(context);通过这个方法获取注册id;
 
  

猜你喜欢

转载自blog.csdn.net/wangwenbo1019/article/details/68939792