Question

Is any kind of XMLHttpRequest methode as CORS supported for FxOS inter app communication today, I know if you set systemXHR permission and set mozSystem:true it works reaching other domains, but is it suppose to work for reaching another app(hosted or packaged) in FxOS or is the same origin policy preventing this as it does for postMessage?

Was it helpful?

Solution

As @kazhik suggest, the best way could be web activity, where you delegate the execution of a task, and another web app (with its own UI) will take care of it.

Firefox OS is introducing new ways of performing communication across applications, still in test you can find new APIs coming in new 1.3 version:

So far I think this APIs require certification but I'm sure will be opened for everyone else in next releases.

OTHER TIPS

If you want to delegate an action to another app, you can use Web Activities.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top