-
Notifications
You must be signed in to change notification settings - Fork 63
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
Android Variant: Keeps Photo in Albums/Pictures #63
Comments
Hey @bendspoons Thanks for raising this issue. There is a folder called scanSample being created in the root directory within which the camera clicked images are stored. As of now there is no option to delete this image after scan, but as a workaround you could find this folder programmatically and then delete it using another plugin. As for the future plan, I will add this to our enhancements backlog and provide an option for users to view both ios and android in gallery if they require it or not if they don't. |
Hi, thanks for your reply, i can delete the scanSample Folder, and all images in it. BUT, the Picture is somehow ALSO stored/put into my /Pictures Folder, where my "regular Fotos" are stored. And the filename in this folder ist completetly different from what the app returns and the name in the scanSmaple folder. Any ideas?! |
HI, sorry, i kinda forgot about this issue, because it was not that urgent, and i had other projects to manage. I'll look into this issue again |
@bendspoons did you ever figure anything out about this? I'm in the same situation. I know the real fix is backlogged, but I'm wondering if anybody has alternate suggestions. Thanks! |
@leci730 Nah, unfortunately nothing with which im satisfied. I remove the taken image via Code, but unfortunately the image is not removed immmediately, its kinda blurred in its folder. |
Hi anyone got the solution for this. i return the image as base64 still it stores the image in Camera , pictures and scanned image in scanSample Folder |
@fairojm I'm also still searching for a way to solve this. |
@bastifix i fixed this issue by deleting the folder and image manually. i didn't know it is the right way. i done this as a temporary fix. |
@ChrisTomAlx i delete the image using modified time (which is latest) after the scanned image is returned from the plugin. I think its not the safe way to delete. but i don't know the another way to fix this. |
When I open the Photos app I see 3 images for every scanned page. Uncropped/unprocessed images are in Camera and scanSample. They are the same image, but different filenames. The image in Pictures is the cropped image set by this plugin. I'm attempting to manually handle deletion using cordova-plugin-file iterating through scanSample and then deleting images from Pictures, but Photos seems to cache or hold for some reason?! Also, it's not practical to iterate through all photos in Camera attempting to guess which to delete based on timestamp or similar. Any suggestions or update? It would be great if the enhancement cleaned up these images. Thanks! (Also, the plugin is great and has saved a ton of time!) |
On iOS, the scanner does not put the scanned image in the Pictures Folder of the iPhone, so it is only available in my App.
On Android, i think because of the "first Photo, then scan" Method, the Photo taken is placed in my Albums/Pictures Folder on Android. This is, at least in my case/app, an absolute no-go.
The Photo cannot be deleted by my App, because i only get the "scanned image" path, and not the Photo Path.
Is there a workaround like in the "Camera Plugin", to not put the image in my Albums?!
Thanks a lot!
PS. It seems that the image now is blurred in /pictures folder, but still full visible in scanSamples/ folder....
The text was updated successfully, but these errors were encountered: