Tag: ibm mobile services

陷入困境为Bluemix推送创build.p12推送证书文件

参考这篇文章: 发送推送后设备未注册 ,我有同样的问题 – 我的iPhone设备发送推送通知后,未注册。 我尝试了这个post的build议,我用我的证书做了这个: -ios_development.cer – Development profile downloaded from Apple -Certificates.p12 – APNS .p12 exported from the keychain -openssl x509 -in ios_development.cer -inform DER -out apns.pem -outform PEM -openssl pkcs12 -nocerts -in Certificates.p12 -out Certificates.pem -openssl pkcs12 -export -inkey Certificates.pem -in apns.pem -out bluemixPush_dev.p12 我得到这个错误: unable to load private key 97354:error:06065064:digital envelope […]

BlueMix推送通知 – 支持Apple本地化的提醒消息

使用IBM Bluemix推送通知服务,是否可以使用Apple的loc-key和loc-args字段发送推送通知? 如果是这样,你如何使用REST API构build这样的请求? 文档没有提到这些字段的可用性。

用cocoapods安装SDK之后,没有这样的模块“BMSPush”

我已经按照在线文档初始化iOS的Bluemix推送SDK: https ://console.ng.bluemix.net/docs/services/mobilepush/t_enable_ios_notifications_install.html 不幸的是,我的AppDelegate.swift中的“导入BMSPush”语句会产生一个错误(没有这样的模块“BMSPush”)。 在构build我的应用程序(目标:iOS 8.0)时,在BMSPushClient.swift上引发了13个问题,如以下屏幕截图所示: 我的configuration如下: XCode 7.0.1 Mac OS X 10.10.5 Cocoapods 0.39.0 Cocoapods报告了以下版本的安装依赖关系: Using BMSAnalyticsAPI (0.0.20) Using BMSAnalyticsSpec (0.0.16) Using BMSCore (0.0.44) Using BMSPush (0.1.06) 有谁知道如何解决这个问题?

尝试将设备注册到Bluemix上的IBM Mobile First Push服务时,iOS应用程序崩溃

我有一个运行在iPad mini 4(iOS 9.0.2)上的iOS 9应用程序。 尝试将设备注册到Bluemix上的我的IMFPush服务实例时,它崩溃。 以下是在我的App委托中执行注册的代码: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Push notifications let notificationTypes: UIUserNotificationType = [UIUserNotificationType.Badge, UIUserNotificationType.Alert, UIUserNotificationType.Sound] let notificationSettings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes: notificationTypes, categories: nil) application.registerUserNotificationSettings(notificationSettings) application.registerForRemoteNotifications() return true } func application(application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) { // Initialize the Mobile First SDK with IBM […]