99 lines
4.3 KiB
XML
99 lines
4.3 KiB
XML
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools">
|
||
|
|
|
||
|
|
<uses-feature
|
||
|
|
android:name="android.software.leanback"
|
||
|
|
android:required="false" />
|
||
|
|
<uses-feature
|
||
|
|
android:name="android.hardware.touchscreen"
|
||
|
|
android:required="false" />
|
||
|
|
<uses-feature
|
||
|
|
android:name="android.hardware.camera"
|
||
|
|
android:required="false" />
|
||
|
|
|
||
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
||
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||
|
|
<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" />
|
||
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
||
|
|
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission"/>
|
||
|
|
|
||
|
|
<application
|
||
|
|
android:name="${applicationName}"
|
||
|
|
android:icon="@mipmap/ic_launcher"
|
||
|
|
android:label="FlClash">
|
||
|
|
<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" />
|
||
|
|
|
||
|
|
<data android:scheme="clash"/>
|
||
|
|
<data android:scheme="clashmeta"/>
|
||
|
|
<data android:scheme="flclash"/>
|
||
|
|
|
||
|
|
<data android:host="install-config"/>
|
||
|
|
</intent-filter>
|
||
|
|
</activity>
|
||
|
|
|
||
|
|
<!-- <meta-data-->
|
||
|
|
<!-- android:name="io.flutter.embedding.android.EnableImpeller"-->
|
||
|
|
<!-- android:value="true" />-->
|
||
|
|
|
||
|
|
<activity
|
||
|
|
android:name=".TempActivity"
|
||
|
|
android:theme="@style/TransparentTheme" />
|
||
|
|
|
||
|
|
<service
|
||
|
|
android:name=".services.FlClashTileService"
|
||
|
|
android:exported="true"
|
||
|
|
android:icon="@drawable/tile_icon"
|
||
|
|
android:label="FlClash"
|
||
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
||
|
|
<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>
|
||
|
|
<service
|
||
|
|
android:name=".services.FlClashVpnService"
|
||
|
|
android:exported="false"
|
||
|
|
android:foregroundServiceType="specialUse"
|
||
|
|
android:permission="android.permission.BIND_VPN_SERVICE">
|
||
|
|
<intent-filter>
|
||
|
|
<action android:name="android.net.VpnService" />
|
||
|
|
</intent-filter>
|
||
|
|
</service>
|
||
|
|
|
||
|
|
<meta-data
|
||
|
|
android:name="flutterEmbedding"
|
||
|
|
android:value="2" />
|
||
|
|
</application>
|
||
|
|
</manifest>
|