Add config for choosing save to lib or file
Perhaps a configuration option to choose to either save the image to the gallery/camera roll (as it does currently) or to save it to the app's filesystem and return the file URL (allowing the dev to then upload to a server via FileTransfer, open in another app, etc).
Ok, that would be really great and solve my issue. Is it hard to accomplish?
I just need this feat! Do you mind implementing it?
I don't have heaps of free time right at the moment. I'd certainly like to add this, but it's still just wish list at this point.
I can understand. I'll make the possible to implement it for android. eventually i'll request a pull. Hope someoneother have interest implementing it on iOS / WP
:+1: +1 for this feature. Choosing the destination folder when saving (as alternative to save to camera roll) is a great enhancement that allows to chain other actions with the file
Awesome plugin... pretty good in android... But,while I came to iOS, I didn't able to upload the file,after the big process of saving the canvas as image into my iPhone album... Can anyone help me to go further... I've been stucked for a week here..... Thanks in advance...
Yeah, I have grand plans to update the iOS side to also save the file to (at the very least) the tmp/documents folder instead of JUST to the camera roll / photo library.
The original purpose of the plugin was just the photo library and it is a happy happenstance that on Android that means you have an actual accessible file location. In iOS it's not. It's at best an asset URI – https://developer.apple.com/library/ios/documentation/AssetsLibrary/Reference/ALAssetsLibrary_Class/Reference/Reference.html
+1 would love to see imageUri for fileUpload on iOS too. Thank you
Hoping to find some time to test the pull req that has this
The WP8 also returns the path, but strangely it returns "Image saved :" followed with the path. That seems pretty useless since if you're in the success callback you already know the image has been saved and if you're using the argument thre are chances you're looking for the file path and not a message. The android version just returns the path in the success callback and it is great as it is. It would be great if all platforms could return the path in the same format! About adding config to save to lib or file, is it really useful? The way I use this plgin is I save to lib and then if I need the file somewhere else, I move it after.
I definitely could use the configurable location. The images that I am using are uploaded to our server via an API and clutter up the device. I don't want my users to have to manage the pictures on their device.
@devgeeks @aledelgo I'm wondering, did it ever get possible to get file uri and not save image to gallery for Android? looking for that feature, thanks alot!