How can I send a push notification to a specific user in Bluemix? I've successfully built and run the iOS version of the bluelist-auth sample app. I would now like to see if I can modify the boilerplate to send a push notification to a specific "device user ID". The Bluemix documentation states that push can be used in the scenarios listed below. Sorry for posting such a basic question.
You can broadcast notifications:
The code in the boilerplate reads: [self.cloudCodeService post:@"notifyOtherDevices" withDataPayload:nil withHeaders:nil]
Answer by Rama Boggarapu (2305) | Oct 21, 2014 at 04:44 PM
In addition to Venkat's response, here are couple of comments that should help to customize BlueList application you are referring to or your own application:
You can parameterize them based on your needs and use the appropriate value for register call: push.register(deviceAlias, consumerID);
Answer by SVenkatakrishnan (411) | Oct 21, 2014 at 01:42 PM
Since you say that you have been successful with the iOS mobile app. on opening the app. it will register with the Push service
Log into the ACE webconsole of Bluemix and select the backend application you have configured in your iOS app. IN this backend app. you will notice Push, MAS and Data as services that are bound to it. Click on the Push tile and that will open up the Push console. The Notifications tab of the console has the options to select targets and send notifications to them. You could use this tab to identify your device by consumerId and then send notification to it. So the console approach is quick and easy.
Alternatively you could also use our ReST APIs to send messages or have any server side application that internally calls the ReST API or if your server side app is NodeJS then there is a easy to use NodeJS SDK for this.
Here is where our ReST APIs are documented https://mobile.ng.bluemix.net/mbaas-api/#!/push Here is where you can download the NodeJS SDK https://www.ng.bluemix.net/docs/#starters/mobile/index.html#index
Hope that helps, otherwise feel free to ask more questions.
Push notification not received in phone, but in blumix analytics it says it delivered. 4 Answers
Troubleshooting common issues when using the Push service in the BlueList sample application 2 Answers
Bluemix "Mobile Cloud" vs. "MobileFirst Starter Services" 1 Answer
403 when using the Push service in the BlueList sample application 2 Answers
"ibmbluemixcordovadata" tutorial, when run "bower install", there is error "No bower.json present" 9 Answers