cordova-plugin-file icon indicating copy to clipboard operation
cordova-plugin-file copied to clipboard

When the software starts from boot, cordova-plugin-file cannot mount sdcard correctly when initialized

Open x842013824 opened this issue 1 year ago • 0 comments

Bug Report

Problem

What is expected to happen?

When the software starts, it wants to read the file under the sdcard normally

What does actually happen?

In fact, reading a file throws an ENCODING ERR error

Information

Through debugging, I found that the sdcard was not mounted when the device was just booted and was mounted after the plugin was initialized

Command or Code

In the case of unplugging the sdcard, start the software and reinsert the sdcard

Environment, Platform, Device

Android 10 Device

Version information

What are relevant versions you are using? cordova-plugin-file 6.0.2

x842013824 avatar Jul 31 '23 08:07 x842013824