Open yann300 opened 4 years ago
The engine wait for the plugin to be activated but when it comes to an external plugin (iframe, ...) it doesn't wait for the plugin client to be connected. The main issue here is that there is no way for us to know if the plugin client is going to connect at all. For example maybe the plugin want the user to login before connecting to the IDE. I think that it would goes inside the "timeout" after 10sec, but I still need to try it out.
I'll check how we can solve that.
when the plugin
function1
is called, the plugin seems not to be fully activated, the call fails withError from IDE : No window attached to Iframe yet
. In order to reproduce:tweak the
canActivate
of the IDE for returning alwaystrue
create a javascript file in Remix IDE
run this script:
remix.exeCurrent()
from the remix terminal