on 12-22-2014 1:29 PM
Hi,
We are developing a mobile application based on smp 3.0 sp05.
Need some information related to push notifications which is sent from back end to smp server.
All the app on 3 platforms will use same app configuration.
How the calling process/back end will know if it is sending iOS notification or android or windows
Regards,
Sukesh N
Hi Sukesh,
Seems you are developing a hybrid app.
To be more clear, SMP uses native notification mechanisms to send push notifications. Mechanisms are like:APNS, GCM, BIS/BES, WNS,MPNS
Back-end systems use the PUSH REST service to notify SMP about any notification messages it sends to device.
You have to configure push notification related settings in Admin cockpit for required OS:
You can check here how to register clients for native push notifications
http://help.sap.com/saphelp_smp304svr/helpdata/en/7c/0a795d70061014abdbba54a38629d0/content.htm
Regards,
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
Thanks for the information ...
App we are going to develop are native apps not hybrid app ...
There are 3 native applications(android, ios & windows) which uses the same application configuration.
Payload used with push notification is different for each mobile platforms. Push notification for android should contain different payload compared to windows. So back end should have some information about the application to which it is going to send notification.
my question is 'How the back end can know if it is sending notification to iOS or android or windows' application ...
Thanks,
Sukesh N
Hi Sukesh,
SMP's Push Endpoint allows some customization to send specific data to different platforms (Android, iOS, Windows Phone). The details are in the following page: http://help.sap.com/saphelp_smp307svr/helpdata/en/6a/e1d7aabc2946c68d3c56acd42ec522/content.htm
For example you can make the following call with this custom parameters:
{
"alert": "alertval",
"badge": 1,
"customParameters": {
"gcm.sound": "soundforgcm",
"gcm.data" : "Data for ANDROID"
"apns.data" : "Data for iOS"
},
"data": "Generic Data",
"sound": "soundval"
}
Hope this helps!
Gonzalo.
Hi Jitendra Kansal,
1) How to check in rest client for Push Notification?
2) How to configure in Backend Systems?
Regards ,
Sukanya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.