Skip to content

Commit

Permalink
Update android sdk target
Browse files Browse the repository at this point in the history
Current Play Store requires >= 30, and >= 31 in November.

31 also requires that we be explicit about android:exported (it was
implicitly true on earlier sdk targets).
  • Loading branch information
jagerman committed Apr 19, 2022
1 parent f405f90 commit fbe127e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ android {
defaultConfig {
applicationId "io.oxen.wallet"
minSdkVersion 21
targetSdkVersion 29
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName

Expand Down
3 changes: 2 additions & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
tools:replace="android:extractNativeLibs">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
Expand Down Expand Up @@ -50,4 +51,4 @@
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
</manifest>

0 comments on commit fbe127e

Please sign in to comment.