eclipsesource / tabris-js

Create native mobile apps in JavaScript or TypeScript.
https://tabrisjs.com
BSD 3-Clause "New" or "Revised" License
1.4k stars 170 forks source link

Cordova plugins do not work in worker #1976

Open ishigo1987 opened 4 years ago

ishigo1987 commented 4 years ago

One of the big problem with Tabris Js worker right now is: it's not possible to use a cordova plugin inside him

TabrisJs 3.2.1

mpost commented 4 years ago

what platform do you see this on?

ishigo1987 commented 4 years ago

Android for now

mpost commented 4 years ago

In general it should work. Do you experience that with any particular plugin?

ishigo1987 commented 4 years ago

All the plugins that i used https://github.com/brodysoft/cordova-sqlite-evcore-extbuild-free.git https://github.com/apache/cordova-plugin-contacts.git For example

mpost commented 4 years ago

there is no ui in a worker so several apis might not work. how about headless plugins like the device plugin?

ishigo1987 commented 4 years ago

there is no ui in the above mentioned plugins the first one is a database plugin i will check for device plugin ASAP