之前代码:
let JpushAppKey:String = "3axxxda3" // masterSecret: 75byyyye98e5 let JpushChannel:String = "iOS-AppStore" let JpushIsProduction:Bool = false //1.reggister device JPUSHService.registerForRemoteNotificationTypes(UIUserNotificationType.Badge.rawValue | UIUserNotificationType.Sound.rawValue | UIUserNotificationType.Alert.rawValue , categories: nil) JPUSHService.setupWithOption(launchOptions, appKey: JpushAppKey, channel: JpushChannel, apsForProduction: JpushIsProduction) |
改为:
let JpushAppKey:String = "3axxxda3" // masterSecret: 75b70670870933f8333e98e5 let JpushChannel:String = "iOS-AppStore" //let JpushIsProduction:Bool = false let JpushIsProduction:Bool = true |
然后去服务器端看看:
得到了:
简道Push证书_production.p12
然后上传到服务器上:
JPush极光推送-专业的Android消息推送和IOS消息推送服务领导者
好像是需要添加上密码?
转载请注明:在路上 » [已解决]给极光推送JPUSH设置为生产环境