集成jpush for flutter,推送ios设备时显示推送设备为0,但是推送收到了。

ios
标签: #<Tag:0x00007f83e7743110>

(Rommi Plus) #1

集成极光推送futter库初始化完成后,推送ios设备,显示推送设备为0,点击推送手机上能收到通知。

ios端初始化log:

| JIGUANG | D - [JIGUANGService] Action - JPUSH begin Setup with appkey:d9d82e487ae2452f38da2dc0 channel: isProduction:FALSE advertisingIdentifier:
| JIGUANG | I - [JIGUANGService]
--------------------------- JPush Log ----------------------------
--------------------JPush SDK Version:3.1.2–build:71----------
--------------------JCore Lib Version:1.2.6–build:68----------
-----------------AppKey:d9d82e487ae2452f38da2dc0----------------

| JIGUANG | D - [JIGUANGService] Action - registrationID
| JIGUANG | D - [JIGUANGService] Action - registrationID
| JIGUANG | W - [JIGUANGService] 请将JPush的初始化方法,添加到[UIApplication application: didFinishLaunchingWithOptions:]方法中,否则JPush将不能准确的统计到通知的点击数量。参考文档:https://docs.jiguang.cn/jpush/client/iOS/ios_guide_new/#_6
| JIGUANG | I - [JIGUANGClientController] Action - jpush setup
| JIGUANG | I - [JIGUANGClientController] Action - setup
| JIGUANG | D - [JIGUANGUserDefaultsController] read from old keychain data
| JIGUANG | D - [JIGUANGUserDefaultsController] no old content, set new appKey
| JIGUANG | D - [JIGUANGPageFlow] trySetupSession
| JIGUANG | D - [JIGUANGPageFlow] setupSession


#2

显示设备为 0 ,这个是官网的数据显示有延迟,能收到消息代表你集成成功了


(Rommi Plus) #3

好 这边担心是需要在ios端再集成一次sdk。

多谢