Commit f9fd8cd58638137d491e439a457c517e2e2b5b16

Authored by 吴启风
1 parent c5efddc7

feat:android打电话增加包可见性

android/app/build.gradle
@@ -28,7 +28,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" @@ -28,7 +28,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28 android { 28 android {
29 namespace "com.kouyuxingqiu.wow_english" 29 namespace "com.kouyuxingqiu.wow_english"
30 // compileSdkVersion flutter.compileSdkVersion 30 // compileSdkVersion flutter.compileSdkVersion
31 - compileSdkVersion 33 31 + compileSdkVersion 34
32 // 暂时没有ndk需求 32 // 暂时没有ndk需求
33 // ndkVersion flutter.ndkVersion 33 // ndkVersion flutter.ndkVersion
34 34
@@ -50,7 +50,7 @@ android { @@ -50,7 +50,7 @@ android {
50 //minSdkVersion flutter.minSdkVersion 50 //minSdkVersion flutter.minSdkVersion
51 //targetSdkVersion flutter.targetSdkVersion 51 //targetSdkVersion flutter.targetSdkVersion
52 minSdkVersion 23 52 minSdkVersion 23
53 - targetSdkVersion 33 53 + targetSdkVersion 34
54 versionCode flutterVersionCode.toInteger() 54 versionCode flutterVersionCode.toInteger()
55 versionName flutterVersionName 55 versionName flutterVersionName
56 } 56 }
android/app/src/main/AndroidManifest.xml
1 <manifest xmlns:tools="http://schemas.android.com/tools" 1 <manifest xmlns:tools="http://schemas.android.com/tools"
2 xmlns:android="http://schemas.android.com/apk/res/android"> 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 <application 15 <application
4 android:label="Wow English" 16 android:label="Wow English"
5 android:name="${applicationName}" 17 android:name="${applicationName}"