KoushikMahadikar opened a new issue, #544:
URL: https://github.com/apache/cordova-plugin-file/issues/544
# 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 device
### What 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
- [ ] I searched for existing GitHub issues
- [ ] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]