on 12-08-2014 1:43 PM
Hello,
I am attempting to get push notifications working with an SAP Fiori app. I have created the necessary App IDs and configured them for Push Notifications. I have downloaded the necessary provisioning profiles and exported the .p12 file. With everything configured, I am making the following call in my code:
var nTypes = sap.Push.notificationType.SOUNDS | sap.Push.notificationType.ALERT;
sap.Push.registerForNotificationTypes(nTypes, sap.FioriClient.regSuccess, sap.FioriClient.regFailure, sap.FioriClient.processNotification, null);
However, what I am seeing is that the sap.Push.registerForNotificationTypes call is simply not returning. None of the 3 mentioned callbacks are being invoked. Is there some issue with this function? Am I missing any additional frameworks in the project?
Thanks.
Hi Adarsh,
As Kevin mentioned, SAP Fiori Client does not officially support PUSH.
However, you could do a workaround and recompile the SAP Fiori client as it is mentioned in the following post:
Take in account that this doesn't work with SMP SDK SP11.
Then, whenever you want to send a notification to the fiori app, you could call the SMP Endpoint available with your appid and send it a Push Notification:
You could call the endpoint from a REST Client, or from an ABAP program in a User-Exit in case you wish to send Push Notifications to the Fiori App when executing some particular action of an SAP R/3 transaction.
Hope this helps
Best Regards,
Emanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAP Fiori Client does not officially support PUSH. It is being looked at and perhaps a future release may, but not currently.
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.