We have enabled SAML to our FLP. I have SSO Token (available) when Android Cordova App (Fiori Client) is launched, trying to pass this token to Fiori Launchpad URL in SAP Fiori Client. I customized index.html like below but it is not working. The Cookie is not being passed.
document.addEventListener("deviceready", function() {
if (sap && sap.AppUpdate) {
initializeAppUpdateListeners();
var ssotoken ="<ADERGEVTEMPERERRER>"
document.cookie = "CORPSSOTOKEN="+ssoToken+";domain=.corp.com;path=/";
}
}, false);