ibm-mobile-services

iOS Application crashes when trying to register the device to IBM Mobile First Push service on Bluemix

拟墨画扇 提交于 2020-01-22 03:44:26
问题 I have an iOS 9 application running on an iPad mini 4 (iOS 9.0.2). It crashes when trying to register the device to my IMFPush service instance on Bluemix. Here is the code that performs the registration in my App delegate: func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Push notifications let notificationTypes: UIUserNotificationType = [UIUserNotificationType.Badge, UIUserNotificationType.Alert,

Getting stuck with Creating .p12 push certificate file for Bluemix push

元气小坏坏 提交于 2019-12-25 08:18:19
问题 With reference to this post: Devices being unregistered after push is sent, I have the same issue - my iPhone device is unregistered after sent a push notification. I tried the suggestion from that post, and I did this with my certificates: -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

How to avoid duplicate entries in IBM JSONStore

允我心安 提交于 2019-12-25 01:46:17
问题 WL.JSONStore.get(collectionName).change(data, options) method does not seem to work for duplicate values. I get duplicate values entered whenever data is loaded through the adapter. Below is the code that I have used to avoid duplicate entries. init(){ console.log('JSONStore init function callled'); let collections = { activities: { searchField: {serialKey: 'string'}, adapter: { name: 'ServiceAdapter', add: 'pushActivities', remove: 'removeActivity', replace: 'replaceActivity', load: {

Bluemix sample app fails with “Failed to authenticate against MCA”

本秂侑毒 提交于 2019-12-24 00:16:34
问题 I'm trying to build and run this Bluemix sample app: BMS samples: helloTodoAdvanced I'm following the instructions in the project's README.md verbatim. Specifically: Clean checkout of the bms-samples-hellotodo-advanced project from Github. Created a new Bluemix "MobileFirst Starter" boilerplace app. Verified the basic functionality from the Bluemix console and the Web UI. Created a new Facebook app ID, using the package and class in the sample app. Configured BlueMix Mobile Client Access (MCA

MobileFirst Starter - Bluemix Push Notification failure in Production mode

感情迁移 提交于 2019-12-20 04:56:13
问题 I am building an iOS app that can receive remote notification through Bluemix. I have the app Bundle Identifier in Xcode matches the AppId in Apple Portal which also match the APN certificate (xxx-sandbox.p12 and xxx-production.p12). During development I have tested using Push Notification with Bluemix Sandbox (under MobileFirst Starter boilerplate). All work fine. I can receive notification in my iPhone. However when I tested in Production mode, I keep getting error messages: "Internal

Duplicate symbols in IBM MobileFirst Platform Foundation (MFP) and Bluemix IMFCore SDK's

梦想与她 提交于 2019-12-13 19:04:35
问题 We have some issues when trying to use both the mobilefirst platform SDK and the IBM Bluemix notification SDK in the MyUnicity iOS project. There are a number of duplicate symbols between the MFP and the IMFCore libraries and the build of our project fails in the linking phase (see the examples below: in total we get "121 duplicate symbols for architecture arm64"). The Bluemix Push notification on iOS requires IMFCore and IMFPush features: duplicate symbol _OBJC_IVAR_$_WLAFQueryStringPair.

No such module 'BMSPush' after SDK installation with cocoapods

为君一笑 提交于 2019-12-13 16:54:24
问题 I've initialized the Bluemix Push SDK for iOS following the online documentation: https://console.ng.bluemix.net/docs/services/mobilepush/t_enable_ios_notifications_install.html Unfortunately, the "import BMSPush" statement in my AppDelegate.swift raises an error (No such module 'BMSPush'). When building my application (target: iOS 8.0), there are 13 issues raised on BMSPushClient.swift, as detailed in the following screenshot: My configuration is as following: XCode 7.0.1 Mac OS X 10.10.5

Bluemix: MQA : how to make phone shake harder in android to report bug and feedback

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 01:51:57
问题 I am trying to integrate Bluemix MQA with my mobile app. I am using the MQA-Android-2.7.4.arr file in my project. I have one query related to phone-shake as below. How do I make the phone shake harder in Android to report a bug as slight shaking is also popping up the screen multiple times? 回答1: Android devices have different accelerometers and the same algorithm appears to have different effects on each. I’m creating a request for enhancement to add a shake threshold slider for the shake

Bluemix Push Notification service not working anymore?

柔情痞子 提交于 2019-12-12 18:15:46
问题 I have a native iOS Swift app talking to a Node.js Bluemix backend with MobileFirst services (AMA, Cloudant, Push iOS 8), which worked well for over a month. A few days ago I noticed that I could no longer register new devices from the iOS app (IMFPushClient.sharedInstance().registerDeviceToken() responded with a 404). I knew that changes had been made recently to the MobileFirst services ( e.g. the various push services were merged into one), so I figured I should rebind those services. This

BlueMix Push Notification - support for Apple localized alert messages

こ雲淡風輕ζ 提交于 2019-12-11 10:49:21
问题 Using IBM Bluemix push notification service, is it possible to send a push notification using Apple's loc-key and loc-args fields? If so, how can you construct such a request using the REST API? The documentation does not mention the availability of these fields. 回答1: So after testing out a few things with the REST API it does not appear to currently support any aps or gcm specific fields for the "alert" value. I would say this is likely due to simplifying things to support both platforms.