Commit f9fd8cd58638137d491e439a457c517e2e2b5b16
1 parent
c5efddc7
feat:android打电话增加包可见性
Showing
2 changed files
with
14 additions
and
2 deletions
android/app/build.gradle
... | ... | @@ -28,7 +28,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" |
28 | 28 | android { |
29 | 29 | namespace "com.kouyuxingqiu.wow_english" |
30 | 30 | // compileSdkVersion flutter.compileSdkVersion |
31 | - compileSdkVersion 33 | |
31 | + compileSdkVersion 34 | |
32 | 32 | // 暂时没有ndk需求 |
33 | 33 | // ndkVersion flutter.ndkVersion |
34 | 34 | |
... | ... | @@ -50,7 +50,7 @@ android { |
50 | 50 | //minSdkVersion flutter.minSdkVersion |
51 | 51 | //targetSdkVersion flutter.targetSdkVersion |
52 | 52 | minSdkVersion 23 |
53 | - targetSdkVersion 33 | |
53 | + targetSdkVersion 34 | |
54 | 54 | versionCode flutterVersionCode.toInteger() |
55 | 55 | versionName flutterVersionName |
56 | 56 | } | ... | ... |
android/app/src/main/AndroidManifest.xml
1 | 1 | <manifest xmlns:tools="http://schemas.android.com/tools" |
2 | 2 | xmlns:android="http://schemas.android.com/apk/res/android"> |
3 | + | |
4 | + <queries> | |
5 | + <intent> | |
6 | + <action android:name="android.intent.action.VIEW" /> | |
7 | + <data android:scheme="tel" /> | |
8 | + </intent> | |
9 | + <intent> | |
10 | + <!-- 系统相机 --> | |
11 | + <action android:name="android.media.action.IMAGE_CAPTURE" /> | |
12 | + </intent> | |
13 | + </queries> | |
14 | + | |
3 | 15 | <application |
4 | 16 | android:label="Wow English" |
5 | 17 | android:name="${applicationName}" | ... | ... |