生产环境的推送接不到推送

developerWn
2018-05-09 07:03 1.4k 0

我使用

#ifdef DEBUG
    [JPUSHService setupWithOption:launchOptions appKey:@"ba430e4bd8babc0a81c92fb8"
                          channel:@"App Store"
                 apsForProduction:0
            advertisingIdentifier:advertisingId];
#else
    [JPUSHService setupWithOption:launchOptions appKey:@"ba430e4bd8babc0a81c92fb8"
                          channel:@"App Store"
                 apsForProduction:1
            advertisingIdentifier:advertisingId];
#endif

判断使用的是生产环境还是开发环境,但是将工程调成release版本在网页推送了下,接不到,反而推送测试的能接到,这是怎么回事?

1个回答

热门排序