- Party screen 'Share this app': shares this install's own APK through the system sheet (FileProvider over cache/share/), so a nearby friend gets the companion via Quick Share/Bluetooth with zero internet — the party-mode premise end to end. - Intro screen: Mesh Party button under Get Started — party works with no node at all, so it belongs on the first screen a fresh install shows. - Served APK: 0.5.8 (vc28), ready for the QR/OTA/ISO cut. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
76 lines
3.5 KiB
XML
76 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<!-- Pairing-QR scanner. Camera is optional: manual entry still works without one. -->
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-feature android:name="android.hardware.camera.any" android:required="false" />
|
|
<!-- Embedded FIPS mesh tunnel (ArchyVpnService) runs as a foreground service. -->
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
|
|
|
<application
|
|
android:name=".ArchipelagoApp"
|
|
android:allowBackup="true"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:label="@string/app_name"
|
|
android:supportsRtl="true"
|
|
android:theme="@style/Theme.Archipelago"
|
|
android:usesCleartextTraffic="true"
|
|
tools:targetApi="35">
|
|
|
|
<!-- Party-screen "Share this app": exposes the copied APK from
|
|
cache/share/ to the system share sheet, nothing else. -->
|
|
<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>
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTask"
|
|
android:theme="@style/Theme.Archipelago.Splash"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:configChanges="orientation|screenSize|screenLayout|keyboardHidden">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<!-- Pairing deep link from the web UI's Companion popup:
|
|
archipelago://pair?v=1&url=...[&pw=...] (docs/companion-pairing-qr.md) -->
|
|
<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="archipelago" android:host="pair" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
<!-- Embedded FIPS mesh node: split-tunnel VpnService (fd00::/8 only),
|
|
configured entirely by scanning the node's pairing QR. -->
|
|
<service
|
|
android:name=".fips.ArchyVpnService"
|
|
android:exported="false"
|
|
android:foregroundServiceType="specialUse"
|
|
android:permission="android.permission.BIND_VPN_SERVICE">
|
|
<property
|
|
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
|
|
android:value="mesh-vpn-tunnel" />
|
|
<intent-filter>
|
|
<action android:name="android.net.VpnService" />
|
|
</intent-filter>
|
|
</service>
|
|
</application>
|
|
|
|
</manifest>
|