Ionic - capacitor problem with cordova-plugins #4652
Unanswered
DanielVagner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone encountered a problem when implementing cordova-plugin-file and at the same time cordova-plugin-x-socialsharing caused the papaparser library to malfunction?
If I remove the cordova plugins everything works, but once I install it, the complete function will not be fired.
upload(event) { this.files = event.target.files[0]; this.papa.parse(this.files, { complete: (result) => { this.data.changeIfLoaded(true); this.store.dispatch(new SetDataCvs(result)); this.toasterService.presentToastWithOptionsForDone( 'Upload done', ); }, delimiter: ',', error: (err) => { console.log(err); this.toasterService.presentToastWithOptionsForError( 'Error with loading file', ); }, }); }
It's impossible for me to debug it.
Thank you in advance for any advice and help.
Beta Was this translation helpful? Give feedback.
All reactions