Hello,
We are trying to understand how to make cross origin requests work with a packaged(installed) app on WebOS. I can only find basic documentation telling us that WebOS follows standard CORS practices.
As far as I can understand, this means the server should send back an Access-Control-Allowed-Origin header for our domain. We cannot just expose a wildcard, so setting this to Access-Control-Allowed-Origin: * is not an option for us. The problem is that we cannot map it to an Origin either. When running as an installed app, WebOS does not seem to send any origin header at all. So we have nothing to map to on the server side.
Is there a way to set an origin somehow, perhaps to out webos package name or something similar, or is there some other way to handle this?
Thank you!