Add JavaScript to configure default logon settings.
function logonSuccessCallback(context) { console.log("logonSuccessCallback " + JSON.stringify(context)); } function errorCallback(e) { alert("An error occurred"); alert(JSON.stringify(e)); } function deviceReady() { var appId = "theAppId"; // Change this to app id on server // Optional initial connection context var context = { "serverHost": "example.com", "https": "false", "serverPort": "8080", "communicatorId": "REST", }; sap.Logon.init(logonSuccessCallback, errorCallback, appId, context); } document.addEventListener("deviceready", deviceReady, false);