yasukotelin / ext_storage

ext_storage is minimal flutter plugin that provides external storage path and external public storage path.
MIT License
29 stars 61 forks source link

Support for SDK 29/Android 10: getExternalFilesDir() #6

Open herrmayr opened 4 years ago

herrmayr commented 4 years ago

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!

yasukotelin commented 4 years ago

@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😍

kw2019ltd commented 4 years ago

hi @yasukotelin when media_store will be available

prasantco commented 4 years ago

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

deandreamatias commented 4 years ago

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

yasukotelin commented 4 years ago

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

prasantco commented 4 years ago

What do you think about Android 29 or 30

On Fri, Jul 17, 2020 at 2:05 PM yasukotelin notifications@github.com 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 .