ext_storage icon indicating copy to clipboard operation
ext_storage copied to clipboard

Support for SDK 29/Android 10: getExternalFilesDir()

Open herrmayr opened this issue 4 years ago • 6 comments

In Android 10, the getExternalPublicStorage API will be deprecated, leading to an error when trying to get the paths.

Instead, methods like getExternalFilesDir() should now be used. Is it realistic for this package to include this change anytime soon?

Details: https://stackoverflow.com/questions/57116335/environment-getexternalstoragedirectory-deprecated-in-api-level-29-java/57116787#57116787

Thank you so much for your great work!

herrmayr avatar May 16 '20 09:05 herrmayr

@herrmayr Because getExternalPublicStorage API is deprecated, I plan to this ext_storage will also be deprecated😇 Instead, I will create new library media_store using MediaStore API😍

yasukotelin avatar May 27 '20 15:05 yasukotelin

hi @yasukotelin when media_store will be available

kw2019ltd avatar Jun 23 '20 10:06 kw2019ltd

Hey @yasukotelin We are also facing same issue, when will you publish media_store library

prasantco avatar Jul 15 '20 08:07 prasantco

Is this package? https://pub.dev/packages/media_store

deandreamatias avatar Jul 15 '20 16:07 deandreamatias

Sorry everyone. I don't have plan to create new library media_store yet.

yasukotelin avatar Jul 17 '20 08:07 yasukotelin

What do you think about Android 29 or 30

On Fri, Jul 17, 2020 at 2:05 PM yasukotelin [email protected] wrote:

Sorry everyone. I don't have plan to create new library media_store yet.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/yasukotelin/ext_storage/issues/6#issuecomment-659961591, or unsubscribe https://github.com/notifications/unsubscribe-auth/APGW34W2YQEJWIMESJOLXELR4AELXANCNFSM4NC2Q4GQ .

prasantco avatar Jul 17 '20 08:07 prasantco