add native addon to AMO or riot-web
Could Radical Native Add-on be integrated into riot-web? If no, please add it to AMO.
Could Radical Native Add-on be integrated into riot-web?
You mean like directly integrated into upstream Riot Web? That'd be a question for their issue tracker.
If no, please add it to AMO.
I do plan to add RN to AMO, but some things are still unclear, like updating behavior where there are incompatible versions of the binary and the add-on. Not sure yet how I want to approach that. Also want to wait for some things to stabilize a bit more upstream.
You mean like directly integrated into upstream Riot Web?
Does browsers allow to implement it at all? Is it possible to communicate with the native app from the web page, not from the addon?
In fact, riot-electron has this functionality. And riot-web shares the same repository with riot-electron. I mistakenly thought that radical is a part of riot. Is it possible to use the same extension for browser and electron app? It'd be great to join forces.
Is it possible to communicate with the native app from the web page, not from the addon?
Unfortunately not, no.
Is it possible to use the same extension for browser and electron app? It'd be great to join forces.
riot-desktop (electron) and radical-native do different things under the hood, even tho the results are similar, so in their current form they aren't interchangeable. It'd be nice to have webextensions/add-on support in general upstream tho, would need someone to figure things out with them.
I do plan to add RN to AMO, but some things are still unclear, like updating behavior where there are incompatible versions of the binary and the add-on. Not sure yet how I want to approach that.
Something simple that came to mind: The add-on could check the binary version and have some minimum version requirement for breaking changes, which then simply shows the user "binary outdated / no longer compatible, please update"