求助为啥一直这个问题

ios
标签: #<Tag:0x00007fb831849a90>

(llllll) #1

| JPUSH | W - [JPUSHClientController] Not get deviceToken yet. Maybe: your certificate not configured APNs? or current network is not so good so APNs registration failed? or there is no APNs register code? Please refer to JPush docs.
证书什么都看过了,没问题,jpush 是pods下来的 JPUSH_VERSION_NUMBER 2.1.9
搞不懂为什么一直报这个


#2

(llllll) #3

[JPUSHService setupWithOption:launchOptions appKey:appKey
channel:channel
apsForProduction:isProduction
advertisingIdentifier:nil];

这个是我在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions里写的注册 但是上传devicetoken成功和失败两个方法都没走


(llllll) #4

问题解决了。由于以前集成过所以没注意看新的官方文档。也怪自己了太理所当然的做事了新的api还是得好好先看看文档。


#5

解决了就OK~