jpush_flutter 为iOS的包设置noidfa
当时由于iOS审核中的IDFA 而未集成任何广告服务遭到 Apple 拒绝,于是我直接删除info.plist中的NSUserTrackingUsageDescription描述信息,然后通过了审核。
上线后发现iOS用户均收不到推送消息。
于是我就直接改了jpush_flutter:3.0.3中jpush_flutter.podspec文件
由
s.dependency 'JCore','>=4.6.2'
s.dependency 'JPush','5.2.4'
改为
s.dependency 'JCore','4.6.2-noidfa'
s.dependency 'JPush','5.2.4'
之后,在极光后台我又清除了我的测试的别名所绑定的registrationID。
最后再次调试,还是一样收不到消息。
我发现在极光后台中 别名信息 以及 别名绑定的registrationID 感觉是正常的。
极光后台- iOS的集成监测中,一直是显示“未集成”。
日志打印了:
| JIGUANG | W - [JIGUANG] Not get deviceToken yet. After successful login, a custom message can be sent, but the APNs notification cannot. Until the deviceToken is obtained and reported successfully, the APNs notification can be used normally.