Skip to content

Commit 63f39bc

Browse files
authored
Merge pull request #20 from alibaba/feat/target-33-intent-filter
feat:targetSdk=33 intent-filter adapted
2 parents 3a8c652 + 9784609 commit 63f39bc

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ android {
1616
defaultConfig {
1717
applicationId "com.alicloud.databox.demo"
1818
minSdk 24
19-
targetSdk 31
19+
targetSdk 33
2020
versionCode 1
2121
versionName "1.0"
2222

app/src/main/AndroidManifest.xml

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@
4242
android:exported="true"
4343
android:launchMode="singleTask">
4444

45+
<!-- targetSdk >= 33 需要适配 intent-filter -->
46+
<intent-filter>
47+
<action android:name="android.intent.action.VIEW" />
48+
</intent-filter>
49+
4550
<!-- H5授权回调 -->
4651
<intent-filter>
4752
<action android:name="android.intent.action.VIEW" />

0 commit comments

Comments
 (0)