Skip to content

Commit 958e39a

Browse files
committed
🚩 📝
[Update] - Supported Android 10 and above versions.
1 parent 4328851 commit 958e39a

5 files changed

Lines changed: 7 additions & 12 deletions

File tree

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ Well, it doesn't have a name like Rocky, Cosmos or Fish. Android File Picker, li
2929
## Compatibility
3030
It depends on your targetAPI:
3131
- `targetAPI <= 28`, you are fine ;)
32-
- `targetAPI == 29`, please enable `requestLegacyExternalStorage` feature for your project :D
33-
- `targetAPI >= 30`, don't use this lib. We don't support scope storage for now :(
34-
- Unless Google release new external permission or other new feature, we would not consider support scope storage. (or says: "I can't do this")
35-
- Or, of course, you are welcomed for give us some ideas. Just create a new issues.
32+
- `targetAPI >= 29`, please enable `requestLegacyExternalStorage` feature for your project :D
3633

3734
## Download
3835

README_CN.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,7 @@
3131
这取决于您的 targetAPI :
3232

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

3936
## 下载使用
4037

filepicker/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ apply plugin: 'com.github.dcendents.android-maven'
77
group='com.github.rosuH'
88

99
android {
10-
compileSdkVersion 28
10+
compileSdkVersion 30
1111

1212
defaultConfig {
1313
minSdkVersion 16
14-
targetSdkVersion 28
14+
targetSdkVersion 30
1515
versionCode 1
1616
versionName "1.0"
1717

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ apply plugin: 'kotlin-android'
55
apply plugin: 'kotlin-android-extensions'
66

77
android {
8-
compileSdkVersion 28
8+
compileSdkVersion 30
99
defaultConfig {
1010
applicationId "me.rosuh.androidfilepicker"
1111
minSdkVersion 19
12-
targetSdkVersion 28
12+
targetSdkVersion 30
1313
versionCode 1
1414
versionName "1.0"
1515
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

sample/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
android:label="@string/app_name_file_picker"
99
android:roundIcon="@mipmap/ic_launcher_round"
1010
android:supportsRtl="true"
11+
android:requestLegacyExternalStorage="true"
1112
android:theme="@style/AppTheme">
1213
<activity android:name=".SampleInJavaActivity"></activity>
1314
<activity android:name=".SampleActivity">

0 commit comments

Comments
 (0)