-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SaveToPhotoAlbum does not save image on Android #577
Comments
I've made changes to my fork for existing iOS and Android OS updates. Remove the plugin and then add back via git repo |
Thanks @tmk1991! I don't see changes related to this specific issue, is it because of the API changes you did? |
Did this solution work for you, @HarelM? Thanks for updating! |
@949mac haven't had the chance to try it yet. Since forks can be easily abandoned I usually prefer to wait for a formal fix and release. I'm experiencing this issue for a while now and it is not a top priority bug so I want to see how this plays out. |
…om camera - Android - saveToPhotoAlbum feature fixed by taken into count content - uri. (writeUncompressedImage method) ( see: apache#611 (comment) ) - make saveToPhotoAlbum future proof by using the MediaStore to insert the taken image - made a method to calculate the compressFormat based on the encodingType (JPEG or PNG) - layout of the performCrop method is adjusted - removed unused rotate variable inside processResultFromGallery method
* GH-341 - GH-577 Fixed the Save Photo To Album starting from camera - Android - saveToPhotoAlbum feature fixed by taken into count content - uri. (writeUncompressedImage method) ( see: #611 (comment) ) - make saveToPhotoAlbum future proof by using the MediaStore to insert the taken image - made a method to calculate the compressFormat based on the encodingType (JPEG or PNG) - layout of the performCrop method is adjusted - removed unused rotate variable inside processResultFromGallery method * Add extra VO class to the plugin.xml * added package declaration to new VO * GH-341 - GH-577 #669 (comment) listen to review
Bug Report
When setting
saveToPhotoAlbum
to betrue
image is not savedProblem
What is expected to happen?
Image should be saved to photo album
What does actually happen?
Image is not saved
Information
Pretty straight forward - clicking on a button to open the camera, taking a picture, the picture is used in the app but does not appear in the gallery
Related to #341
Command or Code
https://github.com/IsraelHikingMap/Site/blob/master/IsraelHiking.Web/sources/application/directives/image-capture.directive.ts#L50L55
Environment, Platform, Device
Android, both samsung 9 and xiomi redmi 4,
App can be found here:
https://play.google.com/store/apps/details?id=il.org.osm.israelhiking&hl=en
Clicking the up-side-down drop on the right
Clicking a location on the map
Clicking on the camera to take a picture
Clicking OK in the camera app
The image is presented in the app but it is not stored in the gallery.
Version information
Cordova 9.0
Cordova-plugin-camera 4.0.3
Checklist
The text was updated successfully, but these errors were encountered: