2024-04-30 23:38:49 +08:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
|
|
|
|
<uses-feature
|
2024-08-15 16:18:00 +08:00
|
|
|
android:name="android.hardware.touchscreen"
|
|
|
|
|
android:required="false" />
|
2024-04-30 23:38:49 +08:00
|
|
|
<uses-feature
|
2024-08-15 16:18:00 +08:00
|
|
|
android:name="android.hardware.camera"
|
|
|
|
|
android:required="false" />
|
2024-04-30 23:38:49 +08:00
|
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
2024-09-20 14:32:57 +08:00
|
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"
|
|
|
|
|
tools:ignore="SystemPermissionTypo" />
|
2024-04-30 23:38:49 +08:00
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
2024-09-20 14:32:57 +08:00
|
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
|
2024-08-15 16:18:00 +08:00
|
|
|
<uses-permission
|
|
|
|
|
android:name="android.permission.QUERY_ALL_PACKAGES"
|
2024-06-08 22:51:58 +08:00
|
|
|
tools:ignore="QueryAllPackagesPermission" />
|
2024-04-30 23:38:49 +08:00
|
|
|
|
|
|
|
|
<application
|
|
|
|
|
android:name="${applicationName}"
|
2024-08-15 16:18:00 +08:00
|
|
|
android:icon="@mipmap/ic_launcher"
|
2024-09-20 14:32:57 +08:00
|
|
|
android:hardwareAccelerated="true"
|
|
|
|
|
android:label="FlClash">
|
2024-04-30 23:38:49 +08:00
|
|
|
<activity
|
|
|
|
|
android:name="com.follow.clash.MainActivity"
|
|
|
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:hardwareAccelerated="true"
|
|
|
|
|
android:launchMode="singleTop"
|
|
|
|
|
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. -->
|
|
|
|
|
<meta-data
|
|
|
|
|
android:name="io.flutter.embedding.android.NormalTheme"
|
|
|
|
|
android:resource="@style/NormalTheme" />
|
|
|
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
|
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<category android:name="android.intent.category.BROWSABLE" />
|
|
|
|
|
|
2024-08-15 16:18:00 +08:00
|
|
|
<data android:scheme="clash" />
|
|
|
|
|
<data android:scheme="clashmeta" />
|
|
|
|
|
<data android:scheme="flclash" />
|
2024-04-30 23:38:49 +08:00
|
|
|
|
2024-08-15 16:18:00 +08:00
|
|
|
<data android:host="install-config" />
|
2024-04-30 23:38:49 +08:00
|
|
|
</intent-filter>
|
2024-09-20 14:32:57 +08:00
|
|
|
</activity>
|
|
|
|
|
|
|
|
|
|
<!-- <meta-data-->
|
|
|
|
|
<!-- android:name="io.flutter.embedding.android.EnableImpeller"-->
|
|
|
|
|
<!-- android:value="true" />-->
|
|
|
|
|
|
|
|
|
|
<activity
|
|
|
|
|
android:name=".TempActivity"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:theme="@style/TransparentTheme">
|
2024-09-18 10:27:53 +08:00
|
|
|
<intent-filter>
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<action android:name="com.follow.clash.action.START" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
|
<action android:name="com.follow.clash.action.STOP" />
|
|
|
|
|
</intent-filter>
|
2024-04-30 23:38:49 +08:00
|
|
|
</activity>
|
|
|
|
|
|
|
|
|
|
<service
|
|
|
|
|
android:name=".services.FlClashTileService"
|
|
|
|
|
android:exported="true"
|
2024-06-08 22:51:58 +08:00
|
|
|
android:foregroundServiceType="specialUse"
|
2024-08-15 16:18:00 +08:00
|
|
|
android:icon="@drawable/ic_stat_name"
|
2024-04-30 23:38:49 +08:00
|
|
|
android:label="FlClash"
|
2024-08-15 16:18:00 +08:00
|
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
2024-04-30 23:38:49 +08:00
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.service.quicksettings.TOGGLEABLE_TILE"
|
|
|
|
|
android:value="true" />
|
|
|
|
|
</service>
|
2024-07-26 08:05:22 +08:00
|
|
|
|
|
|
|
|
<provider
|
|
|
|
|
android:name=".FilesProvider"
|
|
|
|
|
android:authorities="${applicationId}.files"
|
|
|
|
|
android:exported="true"
|
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
|
android:permission="android.permission.MANAGE_DOCUMENTS"
|
|
|
|
|
android:process=":background">
|
|
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.content.action.DOCUMENTS_PROVIDER" />
|
|
|
|
|
</intent-filter>
|
|
|
|
|
</provider>
|
|
|
|
|
|
|
|
|
|
<provider
|
|
|
|
|
android:name="androidx.core.content.FileProvider"
|
|
|
|
|
android:authorities="${applicationId}.fileProvider"
|
|
|
|
|
android:exported="false"
|
|
|
|
|
android:grantUriPermissions="true">
|
|
|
|
|
<meta-data
|
|
|
|
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
|
|
|
|
android:resource="@xml/file_paths" />
|
|
|
|
|
</provider>
|
|
|
|
|
|
2024-04-30 23:38:49 +08:00
|
|
|
<service
|
|
|
|
|
android:name=".services.FlClashVpnService"
|
|
|
|
|
android:exported="false"
|
|
|
|
|
android:foregroundServiceType="specialUse"
|
2024-08-15 16:18:00 +08:00
|
|
|
android:permission="android.permission.BIND_VPN_SERVICE">
|
2024-04-30 23:38:49 +08:00
|
|
|
<intent-filter>
|
|
|
|
|
<action android:name="android.net.VpnService" />
|
|
|
|
|
</intent-filter>
|
2024-09-20 14:32:57 +08:00
|
|
|
<property
|
|
|
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
|
|
|
android:value="vpn" />
|
2024-04-30 23:38:49 +08:00
|
|
|
</service>
|
|
|
|
|
|
2024-08-15 16:18:00 +08:00
|
|
|
<service
|
|
|
|
|
android:name=".services.FlClashService"
|
|
|
|
|
android:exported="false"
|
2024-09-20 14:32:57 +08:00
|
|
|
android:foregroundServiceType="specialUse">
|
|
|
|
|
<property
|
|
|
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
|
|
|
android:value="service" />
|
|
|
|
|
</service>
|
2024-08-15 16:18:00 +08:00
|
|
|
|
2024-04-30 23:38:49 +08:00
|
|
|
<meta-data
|
|
|
|
|
android:name="flutterEmbedding"
|
|
|
|
|
android:value="2" />
|
|
|
|
|
</application>
|
|
|
|
|
</manifest>
|