summaryrefslogtreecommitdiff
path: root/gipfel-droid/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gipfel-droid/app/src/main/AndroidManifest.xml')
-rw-r--r--gipfel-droid/app/src/main/AndroidManifest.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/gipfel-droid/app/src/main/AndroidManifest.xml b/gipfel-droid/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..8be2e74
--- /dev/null
+++ b/gipfel-droid/app/src/main/AndroidManifest.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- The whole point of this wrapper: the browser apps cannot declare
+ ACCESS_MEDIA_LOCATION, so the OS redacts GPS EXIF from every image
+ they read. We declare and request it and get the original bytes. -->
+ <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
+ <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" />
+ <!-- required merely to create the loopback ServerSocket; the app
+ never talks to any other host -->
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <application
+ android:label="gipfel"
+ android:allowBackup="false"
+ android:hardwareAccelerated="true"
+ android:networkSecurityConfig="@xml/network_security_config">
+ <activity
+ android:name=".MainActivity"
+ android:exported="true"
+ android:theme="@android:style/Theme.Material.NoActionBar"
+ android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|uiMode|density|smallestScreenSize">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+ </application>
+</manifest>