xseignard / cordovarduino

Cordova/Phonegap plugin for USB host serial communication from an Android device.
MIT License
166 stars 110 forks source link

Not Working in Android 8 Version #110

Open PVREDDYPADALA opened 5 years ago

PVREDDYPADALA commented 5 years ago

Hi, Your plugin is works like a charm but its works for android 8 below versions. I have 2 questions about this plugin. 1)Will it works for android 8 version? 2)Is there any event to fire if any connection loss between Device and OTG?

I'm using following configuration.

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.1.10
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.9.2

System:

Node : v8.12.0
npm  : 6.4.1
OS   : Windows 8.1

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro
DaleMitchell commented 5 years ago

Is this still an issue?

PVREDDYPADALA commented 5 years ago

Yes

On Tue, Feb 19, 2019, 1:19 AM Dale Mitchell <notifications@github.com wrote:

Is this still an issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/xseignard/cordovarduino/issues/110#issuecomment-464856197, or mute the thread https://github.com/notifications/unsubscribe-auth/AfV2FuGxpBhJTY5_etpkaQMhhPv-73I1ks5vOwPGgaJpZM4ZddMI .

jmbredal commented 4 years ago

Yes, still a problem. Does anyone know how to get around this?

nevkatz commented 4 years ago

I am not close to the code at this time, but I know that Android 8 and 9 introduce permissions restrictions with respect to writing to an external USB device. I have been running into a similar issue involving copying directories from a Pie device to a USB flash drive using my cordova app. Could permissions problems be causing this issue?

abutizi commented 2 years ago

Did you guys figure out a workaround for this?