cordova 引入jpush-phonegap-plugin之后 注册不上registrationId,在自己的应用控制台内看不到有新注册的设备,getRegistrationID API也获取不到,求指导!!!

jpush
标签: #<Tag:0x00007fb83cfd1a50>

(Castmchen) #1

cordova 引入jpush-phonegap-plugin之后 注册不上registrationId,在自己的应用控制台内看不到有新注册的用户,getRegistrationID API也获取不到,延迟获取也没取到,用Android Studio监控看了一下init()方法执行了,可是没注册上,用的是模拟器不是真机,应用的推送设置ios的推送设置没设置,其它的都设置了,以上我的信息,求大神指导!!!


#2

看客户端日志信息,集成失败有错误提醒


(Castmchen) #3
11-29 12:53:51.155 14170-14251/? D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 636ba98f9014d4ee13044aff
11-29 12:53:51.155 14170-14251/? D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
11-29 12:53:51.159 14170-14251/? W/JIGUANG-JCore: [AndroidUtil] We recommend DataProvider's process same as PushService
11-29 12:53:51.192 14170-14251/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
11-29 12:54:55.311 14653-14743/? D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
11-29 12:54:55.380 14653-14743/? D/JIGUANG-JCore: [ServiceHelper] We found the appKey is changed or register appkey is empty. Will re-register.
11-29 12:54:55.725 14750-14767/? E/JIGUANG-JCore: [JServiceCommandHelper] init failed
11-29 12:56:49.180 15115-15197/? D/JIGUANG-JPush: [JPushInterface] action:init - sdkVersion:3.1.7, buildId:421
11-29 12:56:49.200 15115-15194/? D/JIGUANG-JCore: [ServiceHelper] We found the appKey is changed or register appkey is empty. Will re-register.
11-29 13:01:19.071 15466-15547/com.andriod.castm D/JIGUANG-JCore: [JCoreGlobal] manifest:channel - developer-default
11-29 13:01:19.082 15466-15547/com.andriod.castm D/JIGUANG-JCore: [JCoreGlobal] metadata: appKey - 636ba98f9014d4ee13044aff
11-29 13:01:19.082 15466-15547/com.andriod.castm D/JIGUANG-JCore: [AndroidUtil] action:checkValidManifest
11-29 13:01:19.084 15466-15547/com.andriod.castm W/JIGUANG-JCore: [AndroidUtil] We recommend DataProvider's process same as PushService
11-29 13:01:19.091 15466-15547/com.andriod.castm D/JIGUANG-JCore: [JCoreServiceUtils] set Push/Alarm Receiver enabled
11-29 13:02:25.499 15552-15585/com.andriod.castm:remote E/JIGUANG-JCore: [SisInfo] Unexpected - invalid sis - ips array len is 0
11-29 13:03:33.214 15552-15619/com.andriod.castm:remote E/JIGUANG-JCore: [SisInfo] Unexpected - invalid sis - ips array len is 0
11-29 13:04:42.992 15552-15631/com.andriod.castm:remote E/JIGUANG-JCore: [SisInfo] Unexpected - invalid sis - ips array len is 0
11-29 13:05:59.510 15552-15648/com.andriod.castm:remote E/JIGUANG-JCore: [SisInfo] Unexpected - invalid sis - ips array len is 0

以上是android studio中的log


#4

Jcore 有没有加?目前日志里面只有 JPush 的,另外,再取下更多的信息,切换下网络,用 4 G 来测试


(Castmchen) #5

安装到手机上好使,我用模拟器就不行。。。。 对于模拟器能不能有什么解决方案?THK


#6

这说明你的模拟器有问题吧,这能怎么解决,有些模拟器本身会有问题


(Castmchen) #7

好吧, 谢谢了大神