Skip to content

Commit f3b1446

Browse files
committed
updating target SDK to 30, remove Storage permission from newer devices
1 parent 8897c39 commit f3b1446

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ if (keystorePropertiesFile.exists()) {
1010
}
1111

1212
android {
13-
compileSdkVersion 29
14-
buildToolsVersion "29.0.3"
13+
compileSdkVersion 30
1514

1615
defaultConfig {
1716
applicationId "com.simplemobiletools.notes.pro"
1817
minSdkVersion 21
19-
targetSdkVersion 29
18+
targetSdkVersion 30
2019
versionCode 80
2120
versionName "6.6.2"
2221
setProperty("archivesBaseName", "notes")

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
package="com.simplemobiletools.notes.pro"
66
android:installLocation="auto">
77

8-
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
8+
<uses-permission
9+
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
10+
android:maxSdkVersion="28" />
911
<uses-permission
1012
android:name="android.permission.USE_FINGERPRINT"
1113
tools:node="remove"/>
@@ -19,7 +21,6 @@
1921
android:allowBackup="true"
2022
android:icon="@mipmap/ic_launcher"
2123
android:label="@string/app_launcher_name"
22-
android:requestLegacyExternalStorage="true"
2324
android:roundIcon="@mipmap/ic_launcher"
2425
android:supportsRtl="true"
2526
android:theme="@style/AppTheme">

0 commit comments

Comments
 (0)