Hi Dávid,
I have a working SAPUI5 webapp that consumes oData services. I am trying to convert this into wrap this in a phonegap application. I am also just getting "no data" where the data should be loaded. I did change the serviceUrl and access origin like you did, but still it is not loading any data.
Do you maybe have an example of how you make the oData call? This is how I bind the data:
oView.bindElement("/SystemSet(ID)"); console.log("pre"); // this gets logged oView.getElementBinding().attachEventOnce("dataReceived", jQuery.proxy(function() { console.log("result: " + oData); //this does not get logged var oData = oView.getModel().getData(systemRef); if (!oData) { var oPage = this.getView().byId("pageMasterListContainer"); oPage.setTitle(systemId); } }, this));
I am not sure where to specify the user name and password, but for now I just added it with the model binding.
Any assistance would be much appreciated!