#12 Environment.getExternalStorageDirectory() is deprecated for API Levels 29 and over

Відкрито
3 роки тому відкрито victor.hernandez17 · 0 коментарів
victor.hernandez17 прокоментував(ла) 3 роки тому

Usage of Environment.getExternalStorageDirectory() is deprecated for API Levels 29 and over. Must substitute for some other external storage access method like Context.getExternalFilesDir(String), MediaStore, or Intent.ACTION_OPEN_DOCUMENT.

Luckily, this method is only used to read/write the consent form to device storage, so there are not many occurrences of it across the codebase.

More info here.

Usage of `Environment.getExternalStorageDirectory()` is deprecated for API Levels 29 and over. Must substitute for some other external storage access method like `Context.getExternalFilesDir(String)`, `MediaStore`, or `Intent.ACTION_OPEN_DOCUMENT`. Luckily, this method is only used to read/write the consent form to device storage, so there are not many occurrences of it across the codebase. [More info here](https://developer.android.com/reference/android/os/Environment#getExternalStorageDirectory()).
victor.hernandez17 додав(ла) мітку
deprecated
3 роки тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Ніхто не призначений
1 учасників
Дата завершення

Термін виконання не встановлений.

Завантаження…
Відмінити
Зберегти
Тут ще немає жодного змісту.