FileReader.onloadend event of the plugin Cordova-plugin-file is not getting triggered for Android device #544
Labels
Requires Triage
Tickets that appear to have all the required information but needs to be confirmed for validity
Bug Report
Problem
FileReader.onloadend event of the plugin Cordova-plugin-file is not getting triggered for Android device
What is expected to happen?
FileReader.onloadend event of the plugin
cordova-plugin-file
should be triggered for Android deviceWhat does actually happen?
We are using Cordova plugin cordova-plugin-file to read a file in one of the mobile app. But, FileReader.onloadend event of this plugin is not getting triggered for Android. This issue is replicable in Android 10
Information
We are using Cordova plugin -cordova-plugin-file to read a file in one of the mobile app. But, FileReader.onloadend event of this plugin is not getting triggered for Android. This issue is replicable in Android 10
Command or Code
const reader = new FileReader();
reader.onloadend = (evt: any) => {
imgBlob = new Blob([evt.target.result], { type: 'image/jpeg' });
resolve(imgBlob);
};
Environment, Platform, Device
We are experiencing this issue in Android device which is having Android 10
Version information
cordova-plugin-file version - 6.0.2
cordova-android version - 9.1.0
Checklist
The text was updated successfully, but these errors were encountered: