UnityNativeGallery icon indicating copy to clipboard operation
UnityNativeGallery copied to clipboard

Photo Picker

Open zhouzhuli opened this issue 1 year ago • 5 comments

In order to protect user information, Google will no longer support directly accessing the contents of the album for non-image applications. Instead, it will use the photo picker to retrieve specified photos. Have you considered making corresponding updates? For example, can you choose between the original method or the new method?

zhouzhuli avatar Sep 29 '24 13:09 zhouzhuli

NativeGallery uses an Intent to request the image from the gallery app. It doesn't create its own gallery user interface so it doesn't need to have direct access to images. If this method fails in the future, then I shall revise it.

yasirkula avatar Sep 30 '24 06:09 yasirkula

Google's policy states September 18, 2024 - October 31, 2024: READ_MEDIA_IMAGES Developers of apps with permissions and READ_MEDIA_VIDEOpermissions will be prompted in the Google Play Console to either submit a declaration form to be approved for core/broad access use cases, or to remove the permission (for one-time/infrequent use cases). Different actions are required for one-time/infrequent use cases and for use in core/broad access use cases. This is a bit of a headache for us who don't use the system album frequently. Is it possible for you to make corresponding optimizations for this?

book233 avatar Oct 16 '24 04:10 book233

@book233 I don't use these permissions.

yasirkula avatar Oct 16 '24 06:10 yasirkula

企业微信截图_a19ce33c-dfa9-42e2-8630-60d74117c5cd I used NativeGallery 1.7.1 to check the AndroidManifest in the aar and found this. It seems that there are related permissions declared?

book233 avatar Oct 16 '24 07:10 book233

Yeah they used to exist but I've removed them in v1.7.6. Updating the plugin should resolve the problem.

yasirkula avatar Oct 16 '24 07:10 yasirkula