iOS注册失败,这是什么原因呢?

ios
标签: #<Tag:0x00007fb8462e8758>

(Edge) #1

极光注册时报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. 这个怎么解决 是苹果服务器的问题么??


#2

(Edge) #3

更换了个手机iOS10系统的,发现没有问题,然后就是ios8.4系统的,发现没有无法get devicttoken, 使用2.1.9版本的极光sdk

UIUserNotificationSettings *setting = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeBadge | UIUserNotificationTypeSound | UIUserNotificationTypeAlert categories:nil];
        
[[UIApplication sharedApplication] registerUserNotificationSettings:setting];

#4

麻烦你根据上面的总结链接进行排查