Testing Cordova's limits
Find out how to handle pre-built apps
import data packets
export data packets
Tech : Cordova + ViteJS + Svelte + Scss
npm install -g cordova
npm install
cordova platform add electron
cordova platform add android
cordova plugin add cordova-plugin-file
cordova plugin add cordova-plugin-file-transfer
To develop in live reload on browser
npm run dev
open http://localhost:3000/ cordova is not loaded because not used
To develop in live reload on Windows app
npm run dev
npm run electron_dev
open setup.exe
To package for Windows app
npm run electron_prod
open setup.exe
npm run android_prod
open the apk in your phone
Fix
MyCordovaRef\platforms\electron\platform_www\plugins\cordova-plugin-file\src\browser\FileProxy.js l 33
if (false && require('./isChrome')()) {
FileSystem proxy is ignore with eletron....
Fix compil Java https://github.com/apache/cordova-plugin-file-transfer/issues/306
TODO (optional) Custom https://github.com/electron/asar/blob/main/lib/asar.js to pakage windows app
(mandatory) find how to sign the recompiled apk witout java env