spoonconsulting / cordova-plugin-background-upload

Cordova plugin for background upload
Apache License 2.0
49 stars 53 forks source link

Upload by 64encoded content not uri path + Background Download #233

Open HamzaGa opened 1 year ago

HamzaGa commented 1 year ago

Hi,

Is it possible to upload file using 64encoded string rather than path ? Because I can't get the path from the native media picker on android and ios (due to filesystem security reasons they say). It only returns the photo content as 64encoded string.

Is it also possible that I use this plugin for Background Download ? (same need as background upload but in the other way)

Thanks in advance

zfir commented 1 year ago

Hello @HamzaGa,

Only File Path is possible to upload files right now. For filesystem security reasons, you can try to rewrite the file before sending it to the plugin.

And this plugin supports only upload and not download.

Regards, Zafir.

zfir commented 1 year ago

Hello @HamzaGa,

You can also open PRs for supporting Base-64 encoded string and also for the upload functionality as these are not our priorities for now. Thanks.

Regards, Zafir.

HamzaGa commented 1 year ago

Hi,

I am looking for someone to hire to build the background download plugin for me.

If anyone is interested, please reach to me at hamza.gaaliche@gmail.com

Regards