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

オープン
victor.hernandez173 年 前 に作成しました · 0 コメント
victor.hernandez173 年 前 にコメントしました

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.hernandez173 年 前 にラベル
deprecated
を追加しました
ログインして議論に参加
マイルストーンなし
Nobody assigned
参加者数 1
Due Date

No due date set.

読み込み中…
キャンセル
保存
まだコンテンツがありません