160 lines
7.2 KiB
XML
160 lines
7.2 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||
xmlns:tools="http://schemas.android.com/tools">
|
||
|
||
<uses-permission android:name="android.permission.INTERNET" />
|
||
<uses-permission android:name="android.permission.CAMERA" />
|
||
<uses-permission
|
||
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
||
android:maxSdkVersion="28" />
|
||
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
|
||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
|
||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MICROPHONE" />
|
||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||
<uses-permission android:name="android.permission.BLUETOOTH" />
|
||
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
||
<uses-permission
|
||
android:name="android.permission.READ_EXTERNAL_STORAGE"
|
||
android:maxSdkVersion="32" />
|
||
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
|
||
<uses-permission
|
||
android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION"
|
||
tools:node="remove" />
|
||
|
||
<!-- 谷歌支付权限 -->
|
||
<uses-permission android:name="com.android.vending.BILLING" />
|
||
<queries>
|
||
<!-- Facebook -->
|
||
<package android:name="com.facebook.katana" />
|
||
<!-- WhatsApp -->
|
||
<package android:name="com.whatsapp" />
|
||
<intent>
|
||
<action android:name="android.intent.action.VIEW" />
|
||
<data android:scheme="whatsapp" />
|
||
</intent>
|
||
<!-- Snapchat -->
|
||
<intent>
|
||
<action android:name="android.intent.action.VIEW" />
|
||
<data android:scheme="snapchat" />
|
||
</intent>
|
||
<package android:name="com.snapchat.android" />
|
||
</queries>
|
||
<application
|
||
android:name="${applicationName}"
|
||
android:allowBackup="true"
|
||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||
android:fullBackupContent="@xml/backup_rules"
|
||
android:icon="${appIcon}"
|
||
android:label="${appName}"
|
||
android:usesCleartextTraffic="true"
|
||
tools:replace="android:allowBackup">
|
||
<activity
|
||
android:name=".MainActivity"
|
||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||
android:exported="true"
|
||
android:hardwareAccelerated="true"
|
||
android:launchMode="singleTask"
|
||
android:taskAffinity=""
|
||
android:theme="@style/LaunchTheme"
|
||
android:windowSoftInputMode="adjustResize">
|
||
<!-- Specifies an Android theme to apply to this Activity as soon as
|
||
the Android process has started. This theme is visible to the user
|
||
while the Flutter UI initializes. After that, this theme continues
|
||
to determine the Window background behind the Flutter UI. -->
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN" />
|
||
<category android:name="android.intent.category.LAUNCHER" />
|
||
</intent-filter>
|
||
|
||
<intent-filter android:autoVerify="true">
|
||
<action android:name="android.intent.action.VIEW" />
|
||
<category android:name="android.intent.category.DEFAULT" />
|
||
<category android:name="android.intent.category.BROWSABLE" />
|
||
<data
|
||
android:scheme="https"
|
||
android:host="h5.yumi.com" />
|
||
<data
|
||
android:scheme="yumi"
|
||
android:host="app" />
|
||
</intent-filter>
|
||
</activity>
|
||
<!-- Don't delete the meta-data below.
|
||
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
|
||
<!-- 有些机型在Impeller渲染引擎上兼容性有问题,暂时禁用,Impeller是大势所趋等待Flutter团队修复-->
|
||
<meta-data
|
||
android:name="io.flutter.embedding.android.EnableImpeller"
|
||
android:value="false" />
|
||
<meta-data
|
||
android:name="flutterEmbedding"
|
||
android:value="2" />
|
||
|
||
<activity
|
||
android:name="com.yalantis.ucrop.UCropActivity"
|
||
android:screenOrientation="portrait"
|
||
android:theme="@style/UCropTheme"
|
||
tools:replace="android:theme" />
|
||
|
||
<provider
|
||
android:name="androidx.core.content.FileProvider"
|
||
android:authorities="${applicationId}.fileprovider"
|
||
android:exported="false"
|
||
android:grantUriPermissions="true"
|
||
tools:replace="android:authorities">
|
||
<meta-data
|
||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||
android:resource="@xml/file_paths"
|
||
tools:replace="android:resource" />
|
||
</provider>
|
||
|
||
<!-- 添加 meta-data -->
|
||
<meta-data
|
||
android:name="com.google.android.gms.version"
|
||
android:value="@integer/google_play_services_version" />
|
||
|
||
<!-- 添加活动 -->
|
||
<activity
|
||
android:name="com.google.android.gms.auth.api.signin.internal.SignInHubActivity"
|
||
android:exported="false"
|
||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
||
|
||
<activity
|
||
android:name="com.google.android.gms.auth.api.signin.GoogleSignInActivity"
|
||
android:exported="true"
|
||
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
|
||
|
||
<!-- Remove Agora local screen sharing declarations; we do not ship this capability. -->
|
||
<activity
|
||
android:name="io.agora.rtc2.extensions.MediaProjectionMgr$LocalScreenCaptureAssistantActivity"
|
||
tools:node="remove" />
|
||
|
||
<service
|
||
android:name="io.agora.rtc2.extensions.MediaProjectionMgr$LocalScreenSharingService"
|
||
tools:node="remove" />
|
||
|
||
<service
|
||
android:name=".VoiceRoomForegroundService"
|
||
android:exported="false"
|
||
android:foregroundServiceType="mediaPlayback|microphone"
|
||
android:stopWithTask="false" />
|
||
|
||
<meta-data
|
||
android:name="com.google.firebase.messaging.default_notification_channel_id"
|
||
android:value="high_importance_channel" />
|
||
</application>
|
||
<!-- Required to query activities that can process text, see:
|
||
https://developer.android.com/training/package-visibility and
|
||
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
|
||
|
||
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
|
||
<queries>
|
||
<intent>
|
||
<action android:name="android.intent.action.PROCESS_TEXT" />
|
||
<data android:mimeType="text/plain" />
|
||
</intent>
|
||
</queries>
|
||
|
||
</manifest>
|