capacitor-filesharer icon indicating copy to clipboard operation
capacitor-filesharer copied to clipboard

The code skips whatever is written after ''Filereader.onloadend = "

Open pratiksan45 opened this issue 4 years ago • 5 comments

I am using Filesharer in my Ionic 5 app. But It is not working. I have used breakpoints in the code and found out that, the code is not able to reach after Filereader.onloadend =() => { and after. This is the reason I am not able to use the plugin in my app. Please help.

pratiksan45 avatar Sep 24 '20 05:09 pratiksan45

I was having the same issue. For me it solved by uninstalling all of the cordova plugins

In my case it was cordova-plugin-file only, So I used capacitor's FileSystem Plugin instead of cordova-plugin-file

Capacitor's Plugins don't require any installation they comes with @capacitor/core Let me know if it works or not

KrishPro avatar Dec 19 '20 18:12 KrishPro

I released the new version 3.0.0 today

If you can and it is still relevant please test this issue with the new version. (Capacitor 3.0.0 required)

I keep this issue open a few days and close it afterwards if there is no feedback.

BR Michael

moberwasserlechner avatar Sep 23 '21 16:09 moberwasserlechner

this is still happening on build 3.0.0 for ionic 5, w/ cap ^3 @moberwasserlechner

hrbmiguelromeroh avatar Nov 19 '21 14:11 hrbmiguelromeroh

the issue this plugin is conflicting with cordova-plugin-file

matadorhernan avatar Feb 02 '22 22:02 matadorhernan

the issue this plugin is conflicting with cordova-plugin-file

This is a bug in this plugin, I was also having this same issue.

The solutions is to use Capacitor's Plugin You can use Capacitor's FileSystem Plugin for your usecase.

Note: For capacitor 3+ you'll have to install it with npm install @capacitor/filesystem

KrishPro avatar Feb 03 '22 04:02 KrishPro

Closed as outdated.

moberwasserlechner avatar Sep 18 '22 18:09 moberwasserlechner