premnirmal / StockTicker

A resizable widget that shows your financial portfolio on your android home screen
GNU General Public License v3.0
449 stars 118 forks source link

Do not request permission on Android 13+. #312

Closed charkins closed 1 year ago

charkins commented 1 year ago

"On Android 13, we’re deprecating READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions in favour of better alternative APIs for media file access."

If I understand the documentation correctly, this could actually stop requesting permissions on Android 10+, but does not cause an issue until Android 13.

https://medium.com/androiddevelopers/permissionless-is-the-future-of-storage-on-android-3fbceeb3d70a

Fixes #311.

premnirmal commented 1 year ago

Thank you for the fix!

formerunicornbroker commented 1 year ago

Thank you! Working over here too.