Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting imageURI from camera plugin, then I need to upload it using this plugin. How to do it? #380

Open
rakeshbaral92 opened this issue Jan 2, 2025 · 1 comment

Comments

@rakeshbaral92
Copy link

How to send ImageURI using cordova plugin file transfer plugin. ImageURI is stored using cordova camera plugin.

@breautek
Copy link
Contributor

breautek commented Jan 7, 2025

You should be able to just pass the file:// or content:// uri to the file transfer's upload API.

ImageURI is stored using cordova camera plugin.

Note that content:// paths can be time-limited in read access. If you're storing a content:// path, it may not be readable later. This is usually the case if the user is selecting an image from their gallery instead of capturing a new image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants