Skip to content

Commit

Permalink
update targetSdkVersion 31
Browse files Browse the repository at this point in the history
  • Loading branch information
youlookwhat committed Mar 15, 2024
1 parent 01c3fdd commit 8dd9d3c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ByWebView/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.youlookwhat'

android {
compileSdkVersion 30
compileSdkVersion 31

defaultConfig {
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 31
versionCode 1
versionName "1.0"

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 30
compileSdkVersion 31

defaultConfig {
applicationId "com.example.jingbin.webviewstudy"
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 31
versionCode 16
versionName "3.4.0"
multiDexEnabled true
Expand Down
6 changes: 5 additions & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
tools:ignore="UnusedAttribute">
<activity
android:name=".MainActivity"
android:exported="true"
android:windowSoftInputMode="adjustPan|stateHidden">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand All @@ -45,7 +46,9 @@


<!--用于DeepLink,html跳到此页面 scheme_Adr: 'will://link/testid',-->
<activity android:name=".ui.DeepLinkActivity">
<activity
android:name=".ui.DeepLinkActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.VIEW" />

Expand Down Expand Up @@ -92,6 +95,7 @@
<activity
android:name=".ui.ByWebViewActivity"
android:configChanges="orientation|screenSize"
android:exported="true"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:theme="@style/WebViewTheme"
Expand Down

0 comments on commit 8dd9d3c

Please sign in to comment.