cordova-plugin-camera icon indicating copy to clipboard operation
cordova-plugin-camera copied to clipboard

(android) Update empty filename issue for supporting multiple images

Open arshad54 opened this issue 5 years ago • 0 comments

Platforms affected

Android

Motivation and Context

I was stucked from few days because i am not able to get correct path for the images selected using PHOTOALBUM but then i got a new problem after rectifying the issue i found that the cameraLauncher.java file renaming every image selected from gallery to .Pic. therefore its very difficult to differentiate them and also it is overriding the images.

Description

This is required to differ between multiple images as the java file renaming every file to .Pic. so instead this i added timestamp to the empty filename so that the developer can able to differentiate between multiple files and their paths.

Testing

I have tested this on android 10 using camera and gallery app in my device and it is working fine.

Checklist

  • [x ] I've run the tests to see all new and existing tests pass
  • [ ] I added automated test coverage as appropriate for this change
  • [ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [ ] I've updated the documentation if necessary

arshad54 avatar Aug 04 '20 19:08 arshad54