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

Отворени
отворен преди 4 години от victor.hernandez17 · 0 коментара

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 added the
deprecated
label преди 4 години
Впишете се за да се присъедините към разговора.
Няма етап
Nobody assigned
1 участника
Due Date

No due date set.

Зарежда се…
Отказ
Запис
Все още няма съдържание.