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

開啟中
victor.hernandez174 年之前建立 · 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 加上了
deprecated
標籤 4 年之前
登入 才能加入這對話。
未選擇里程碑
未指派成員
1 參與者
截止日期

未設定截止日期。

載入中…
取消
儲存
尚未有任何內容