ibm-mobile-services

Studio emulator not receiving Bluemix push messages

谁说胖子不能爱 提交于 2019-12-11 10:46:14
问题 Now that I see the sample (android) application is registered for Bluemix-PUSH notifications.I have configured the Bluemix Application's info (APP ROUTE, APP UID) I am using a Bluemix app from ----https://github.com/ibm-bluemix-mobile-services/bms-samples-android-hellopush. I have pulled this project, and built it with the proper dependency gradle settings. But the problem is that I can not see the Push message sent from the Bluemix app on the emulator's push-registered Android App. Also I

Where is the application secret?

社会主义新天地 提交于 2019-12-11 09:58:43
问题 I can't find my Application Secret key in the Mobile Options tab. I went to look into the Mobile Application Security I found out that it is no more. It is replaces by Mobile Client Access. So where is it ? 回答1: If you have Mobile Client Access instead of Mobile Application Security then it sounds like you created a MobileFirst Starter Boilerplate (the newest release) rather than a Mobile Cloud Boilerplate (deprecated as of December 15th). The new services within the MobileFirst Starter

IBM mobile app builder does not see documents in Cloudant database, why?

落花浮王杯 提交于 2019-12-10 23:49:28
问题 I followed the steps in this link Questions and it worked for the connection to the cloudant database. But the " Mobile App Builder " says: there are no documents, but there are over 2000 documents. What is wrong with my configuration? Regards, Thomas 回答1: Mobile App Builder does not support nested objects at the time. The documents in your database contain one nested object. At this time, you could put all the fields in the first level of JSON (date, time, image, etc.), and it should work.

Connecting IBM mobile app builder to Cloudant JSON data - bluemix-mobile-services

风格不统一 提交于 2019-12-10 22:16:05
问题 I am using the IBM Bluemix Mobile App Builder tool and understand that it is currently experimental, but I have been having problems connecting the tool to an existing JSON data source. I have tried connecting to the Cloudant instance within Bluemix, but can't find a way to bind the App Builder tool to the Cloudant DB within Bluemix. I see "Mobile App Builder-6v is not currently authorized to access other service instances. I also tried using the credentials inside Bluemix to get to the JSON

Bluemix Android Push Notification unable to implement custom sound notification

依然范特西╮ 提交于 2019-12-10 21:28:01
问题 I'm trying to implement Bluemix Push Notification custom sound in Android with Mobile First Services Starter (MFSS) and/or Mobile App Builder. At the moment I can send simple push notifications to devices and works well. The problem comes when I want to play a sound for notification. With MFSS I'm trying using this code: MFPPushNotificationListener notificationListener = new MFPPushNotificationListener() { @Override public void onReceive(final MFPSimplePushNotification message) Log.e("message

How to implement Push Notification in Hybrid Mobile Application using Bluemix

余生颓废 提交于 2019-12-07 20:35:25
问题 I was earlier implementing push in my hybrid mobile application using the below code. function EnablePushNotification(email) { var config = { applicationId:'', applicationRoute:'', applicationSecret:'' //applicationSecret:'' }; console.log("EnablePushNotification : " + email); return IBMBluemix.initialize(config) .then(function() { return IBMPush.initializeService(); }) .then(function(push1) { var push = IBMPush.getService(); //device.model //userName push.registerDevice(email, email,

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

雨燕双飞 提交于 2019-12-02 12:23:50
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, UIUserNotificationType.Sound] let notificationSettings: UIUserNotificationSettings = UIUserNotificationSettings(forTypes:

Devices being unregistered after push is sent

痞子三分冷 提交于 2019-12-02 04:33:34
问题 This might sound weird, but I can't see any other explanation. I've setup IBM Push Notifications on Bluemix, which I have done before. For some reason on this new app that i've built. Any time I send a push notification, it doesn't come through, I try to do so again and it tells me there are no devices. This only happened to me today, maybe its an issue with the service? Some things i've tried / noticed: My device is being registered and receiving successful messages from the service via the

Unable to run bms-samples-cordova-hellopush - bms_samples_cordova_push-Swift.h file not found

淺唱寂寞╮ 提交于 2019-12-01 11:46:38
问题 I am trying to run the Push notifications sample available on GitHub. Unfortunately, the configuration as outlined here doesn't work. Docs say: At the top of your AppDelegate.m : #import "[your-project-name]-Swift.h" If your project name has spaces or hyphens, replace them with underscores in the import statement. Example: // Project name is "Test Project" or "Test-Project" #import "Test_Project-Swift.h" So I did for the sample: #import "bms_samples_cordova_push-Swift.h" ObjC Bridging Header

How to register a userId to Bluemix Push Notifications services?

笑着哭i 提交于 2019-12-01 10:47:24
the REST API documentation for Bluemix Push Notification services states that the possible push notification targets are deviceIds, platforms, tagNames and userIds. I don't understand how you register a userId for a device ? I don't see any REST service that seem to take a userId in its inputs... Thanks for your help, Sebastien There is a deviceId that you can set from the REST API when using the POST devices call to register a device. In the DeviceRegResponseModel is userId (string, optional): The user identifier for the the device registration So essentially to set a userId you'll just want