Files
DragonTCP/android/AndroidManifest.xml
T
2026-08-16 16:10:38 -03:00

61 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dragontcp.client"
android:versionCode="14"
android:versionName="14.0-hybrid">
<!-- minSdk 24 covers Android 7.0 and later. It was 29, which silently made
the APK uninstallable on every device older than Android 10. -->
<uses-sdk android:minSdkVersion="24" android:targetSdkVersion="36" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- Required from API 34 for a foreground service of type specialUse. -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<!-- Required from API 33 for the ongoing VPN notification to be visible. -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- 64-bit ARM is the primary target; the other ABIs are shipped so 32-bit
and emulator devices can install too. -->
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<application
android:allowBackup="false"
android:extractNativeLibs="true"
android:label="DragonTCP Lite"
android:icon="@drawable/ic_dragontcp"
android:usesCleartextTraffic="true"
android:theme="@style/DragonTCPTheme">
<activity
android:name=".MainActivity"
android:exported="true"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".LogActivity"
android:exported="false"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustNothing" />
<service
android:name=".DragonService"
android:exported="true"
android:foregroundServiceType="specialUse"
android:permission="android.permission.BIND_VPN_SERVICE">
<intent-filter>
<action android:name="android.net.VpnService" />
</intent-filter>
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="VPN tunnel transport kept alive while the device is connected" />
</service>
</application>
</manifest>