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.