Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all articles
Browse latest Browse all 5512

SAP Push Notifications failing

$
0
0

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.


Viewing all articles
Browse latest Browse all 5512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>