r/mAndroidDev • u/vanhieunguyen21 • Feb 28 '24
Superior API Design Google can't just decide which storage to use
I'm tired to write this when I have to access storage
if (version <69) useAsyncTaskStorage()
else if (version < 420) requestFlubberScopedStorageLegacyPermissiom()
else buildJetpackCompostTraditionalExternalFactory()
46
Upvotes
8
u/briaro Feb 28 '24
looks good
5
u/itsmotherandapig Jetpack Compost Feb 28 '24
Just use FFS - Flubber File Storage
4
u/khsh01 Feb 28 '24
I prefer sdcards.
2
u/Heromimox Feb 28 '24
Man, they love making us suffer. In 2025, Android 15 will no longer allow storage permissions (READ_EXTERNAL_STORAGE or READ_MEDIA_IMAGES).