suzukieng commented on issue #373:
URL: 
https://github.com/apache/cordova-plugin-media/issues/373#issuecomment-1596600315

   Hi @adrianhardy. It's just basically saying "if you're running on Android 
13, request READ_MEDIA_IMAGES permission, otherwise request 
READ_EXTERNAL_STORAGE permission". So this makes an app targeting Android 13 
comply with platform requirements, while falling back to legacy behavior on 
older Android versions (which have no READ_MEDIA_IMAGES permission). The 
ternary expression might make it a big hard to read.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to