registrationID 發送app
registrationID 能夠在接口
[JPUSHService setupWithOption:launchOptions appKey:appKey文檔
channel:channelit
apsForProduction:isProductionio
advertisingIdentifier:advertisingId];channel
//2.1.9版本新增獲取registration id block接口。im
[JPUSHService registrationIDCompletionHandler:^(int resCode, NSString *registrationID) {notification
if(resCode == 0){img
NSLog(@"你手機的registrationID = = = %@",registrationID);推送
}else{
}
}];
效果圖:
8.若是發送成功後,手機端仍是沒有收到消息說明只能是手機端的代碼有問題了,請與官方文檔進行對比