capacitor-filesharer
capacitor-filesharer copied to clipboard
The code skips whatever is written after ''Filereader.onloadend = "
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.
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
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
this is still happening on build 3.0.0
for ionic 5, w/ cap ^3 @moberwasserlechner
the issue this plugin is conflicting with cordova-plugin-file
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
Closed as outdated.