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

오픈
victor.hernandez173 년 전을 오픈 · 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 3 년 전
로그인하여 이 대화에 참여
마일스톤 없음
Nobody assigned
참여자 1명
Due Date

No due date set.

Loading…
취소
저장
아직 콘텐츠가 없습니다.