Ошибки запуска cordova приложения на android 6

Было розработано приложение на cordova и svelte. Приложение без проблем запускается на андройдах 7 версии и новее, но на версии 6 оно запускается, выдает ошибки и не загружает ни одного елемента. JS не срабатывает.

Логи:

I/chromium: [INFO:CONSOLE(46)] "Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode", source: https://localhost/plugins/cordova-plugin-file-transfer/www/FileTransfer.js (46)

I/chromium: [INFO:CONSOLE(4)] "Uncaught SyntaxError: Unexpected token =", source: https://localhost/plugins/cordova-plugin-push-notifications/www/PushNotification.js (4)

I/chromium: [INFO:CONSOLE(1327)] "Uncaught Error: Module cordova-plugin-file-transfer.FileTransfer does not exist.", source: https://localhost/cordova.js (1327)

I/chromium: [INFO:CONSOLE(7)] "Uncaught SyntaxError: Unexpected token =>", source: https://localhost/bundle.js (7)

D/CordovaWebViewImpl: onPageFinished(https://localhost/index.html)

I/chromium: [INFO:CONSOLE(1237)] "deviceready has not fired after 5 seconds.", source: https://localhost/cordova.js (1237)

I/chromium: [INFO:CONSOLE(1230)] "Channel not fired: onPluginsReady", source: https://localhost/cordova.js (1230)

I/chromium: [INFO:CONSOLE(1230)] "Channel not fired: onCordovaReady", source: https://localhost/cordova.js (1230)

Плагин FileTransfer стоит последней версии (ставил через git)


Ответы (0 шт):