Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ Well, it doesn't have a name like Rocky, Cosmos or Fish. Android File Picker, li
## Compatibility
It depends on your targetAPI:
- `targetAPI <= 28`, you are fine ;)
- `targetAPI == 29`, please enable `requestLegacyExternalStorage` feature for your project :D
- `targetAPI >= 30`, don't use this lib. We don't support scope storage for now :(
- Unless Google release new external permission or other new feature, we would not consider support scope storage. (or says: "I can't do this")
- Or, of course, you are welcomed for give us some ideas. Just create a new issues.
- `targetAPI >= 29`, please enable `requestLegacyExternalStorage` feature for your project :D

## Download

Expand Down
5 changes: 1 addition & 4 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
这取决于您的 targetAPI :

- `targetAPI <= 28`,完全没有问题 ;)
- `targetAPI == 29`,请为您的项目启用 `requestLegacyExternalStorage` 特性:D
- `targetAPI> = 30`,请勿使用此库。 我们暂时不支持 Scope Storage :(
- 除非 Google 发布新的外部存储权限或其他新 API,否则我们不会考虑支持范围存储。 (换句话说:“我太菜了,我做不到”)
- 当然,欢迎您给我们一些建议!
- `targetAPI >= 29`,请为您的项目启用 `requestLegacyExternalStorage` 特性:D

## 下载使用

Expand Down
4 changes: 2 additions & 2 deletions filepicker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ apply plugin: 'com.github.dcendents.android-maven'
group='com.github.rosuH'

android {
compileSdkVersion 28
compileSdkVersion 30

defaultConfig {
minSdkVersion 16
targetSdkVersion 28
targetSdkVersion 30
versionCode 1
versionName "1.0"

Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

android {
compileSdkVersion 28
compileSdkVersion 30
defaultConfig {
applicationId "me.rosuh.androidfilepicker"
minSdkVersion 19
targetSdkVersion 28
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
Expand Down
1 change: 1 addition & 0 deletions sample/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
android:label="@string/app_name_file_picker"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme">
<activity android:name=".SampleInJavaActivity"></activity>
<activity android:name=".SampleActivity">
Expand Down