radical-native icon indicating copy to clipboard operation
radical-native copied to clipboard

add native addon to AMO or riot-web

Open 532910 opened this issue 5 years ago • 4 comments

Could Radical Native Add-on be integrated into riot-web? If no, please add it to AMO.

532910 avatar Jun 24 '20 19:06 532910

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.

stoically avatar Jun 25 '20 08:06 stoically

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.

532910 avatar Jun 29 '20 11:06 532910

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.

stoically avatar Jun 29 '20 12:06 stoically

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"

stoically avatar Aug 13 '20 03:08 stoically