apsForProduction选项问题,导致前后端配置不同,接收不到信息.
[JPUSHService setupWithOption:launchOptions appKey:KEY_PUSH
channel:nil
apsForProduction:NO
advertisingIdentifier:nil];
apsForProduction这个选项在 release 环境是不是自动设置成YES了?
我们代码中写的是 NO, 但是上线以后自动变成 YES 了,导致跟我们的后台配置对不上,