Hi everyone,
I’m starting to check migration of previous FxOS packaged apps to the new webapps definition and I’m facing an issue with the “same origin policy”.
Let’s say that I want to migrate an RSS reader apps. In FxOS, it was a packaged apps because it need to be review which allowing us to use the “systemXHR” in the manifest and thus fetching all rss feeds directly from rss content providers (lot of website which I don’t own) to the phone. With the “new” webapps, I’ve found no other way than proxying all rss feed by the webapp hosting server (or hosting a tinytinyrss like server).
The most useful documents related to this issue that I’ve found are:
https://www.w3.org/TR/appmanifest/
https://html.spec.whatwg.org/#same-origin
My idea will be to be able to provide apps that just sync their codes with the webapp hosting server but not force him to take all the traffic. Did someone know if it is possible without being a system app in B2G and could told me what I’ve missed here ?
Thanks in advance.