You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I created my own background runner and it is working ok, with basic JavaScript. The problem starts when i need to connect using Websocket. I also tried to import some packages but i wont let me do it. Is there any option to bypass this problem, or some how run Websocket connection in background? Im running vite, Ionic 6, vue.
The text was updated successfully, but these errors were encountered:
Background Runner does not execute your Javascript code in a browser or web view, therefore the typical Web APIs you may be used to may not be available. This includes DOM APIs nor ability to interact with your application's DOM.
Most packages assume they are running in the browser with the full suite of WebAPIs available, but that's not the case here. I assume any Websocket package you are trying to use is expecting https://developer.mozilla.org/en-US/docs/Web/API/WebSocket to be available, but its not currently in the runtime.
Adding Websocket support is something I can definitely look into adding some time in the future.
Hi, I created my own background runner and it is working ok, with basic JavaScript. The problem starts when i need to connect using Websocket. I also tried to import some packages but i wont let me do it. Is there any option to bypass this problem, or some how run Websocket connection in background? Im running vite, Ionic 6, vue.
The text was updated successfully, but these errors were encountered: