summaryrefslogtreecommitdiff
path: root/app/java/AndroidManifest.xml
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-04-29 10:07:00 +0200
committerDaniel Weipert <code@drogueronin.de>2023-04-29 10:07:00 +0200
commit2259ae916239a3e6a84226583edc610a578cb98e (patch)
treefe439e1985b795832d4cad62c583b21dc6cfc832 /app/java/AndroidManifest.xml
initial commit
Diffstat (limited to 'app/java/AndroidManifest.xml')
-rw-r--r--app/java/AndroidManifest.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/java/AndroidManifest.xml b/app/java/AndroidManifest.xml
new file mode 100644
index 0000000..ef81463
--- /dev/null
+++ b/app/java/AndroidManifest.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<manifest
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ package="org.pihole.dnsproxy"
+ android:versionCode="1"
+ android:versionName="1.0"
+>
+ <uses-sdk
+ android:minSdkVersion="16"
+ android:targetSdkVersion="28"
+ />
+
+ <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+ <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:usesCleartextTraffic="true"
+ >
+ <service
+ android:name=".DNSService"
+ android:permission="android.permission.BIND_VPN_SERVICE"
+ >
+ <intent-filter>
+ <action android:name="android.net.VpnService" />
+ </intent-filter>
+ </service>
+
+ <activity
+ android:name=".MainActivity"
+ android:label="@string/label"
+ android:screenOrientation="portrait"
+ >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+</manifest>