Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-08-01 Thread via GitHub
lorenzodallavecchia commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2264665025 Thanks for the info @breautek. Yeah, I was tricked by the wrong auto-link. As long as the final URIs work from the WebView (like `cdvfile`) it totally makes

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-08-01 Thread via GitHub
breautek commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2263064062 > > Will wait on #629 to be merged then > > I don't get the reference to that PR. How is #629 related to fixing the permissions problem? The actual link is http

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-31 Thread via GitHub
lorenzodallavecchia commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2260242415 > Will wait on #629 to be merged then I don't get the reference to that PR. How is #629 related to fixing the permissions problem? -- This is an automate

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-23 Thread via GitHub
ravi-yk commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2244545074 Thank you for the clear explanation, didn't reliaze that the selecting photos from Gallery is broken for API levels 29 and below. I was under the assumption that functionalit

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-18 Thread via GitHub
breautek commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2236851710 I've done a bit more testing using content urls and wanted to follow up with some more details. Using content urls directly simply doesn't work and I still don't know

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-17 Thread via GitHub
breautek commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2233226006 > This plugin is using ACTION_GET_CONTENT intent, so this new photo picker is actually used under the hood. So I modified this plugin Ok this is good... I thought we w

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-17 Thread via GitHub
ravi-yk commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2232980724 As per information present in the below page (shared in #866 by Fantikor), https://medium.com/androiddevelopers/permissionless-is-the-future-of-storage-on-android-3fbc

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-16 Thread via GitHub
breautek commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2231508735 Also https://github.com/apache/cordova-plugin-camera/pull/890 is merged so if you rebase, it will get the new CI config for the android tests. -- This is an automated mess

Re: [PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-16 Thread via GitHub
breautek commented on PR #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889#issuecomment-2231422550 As it stands, this PR will break picking content from the gallery. The PR simply removes the READ_MEDIA_* permissions and reduces the WRITE_EXTERNAL_STORAGE permission

[PR] fix(android): Removed read and write media permissions to allow to use Android photo picker #866 [cordova-plugin-camera]

2024-07-11 Thread via GitHub
ravi-yk opened a new pull request, #889: URL: https://github.com/apache/cordova-plugin-camera/pull/889 ### Platforms affected - Android ### Motivation and Context Google recommends using the Android photo picker in apps where it's not frequent to access these files inste