cancel
Showing results for 
Search instead for 
Did you mean: 

Push notifications in SMP 3.0

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Jitendra Kansal,

1) How to check in rest client for Push Notification?

2) How to configure in Backend Systems?

Regards ,

Sukanya

Former Member
0 Kudos

This link might help you :