OverviewFilesCommitsIssuesDocsReleasesPeers

favela-web / spike / android / AndroidManifest.xml

38 lines · xml ref:
<?xml version="1.0" encoding="utf-8"?>
<!--
  favela-android spike APK.

  minSdkVersion 31 is NOT a choice — bare-kit's own AndroidManifest.xml declares it, so 31 (Android 12)
  is the floor for anything embedding it. Note that Android 12 is also exactly where the phantom-process
  killer was introduced, so the MINIMUM supported version is the same version that starts reaping child
  processes. That is a coincidence worth remembering when spike 3 runs.

  Permissions are the minimum a full node needs: INTERNET for the swarm, and the foreground-service pair
  so the node can keep running with the screen off (spec §5).
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="to.favela.spike">

    <uses-sdk android:minSdkVersion="31" android:targetSdkVersion="34" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
    <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />

    <application
        android:label="favela spike"
        android:extractNativeLibs="true"
        android:allowBackup="false">

        <activity android:name=".MainActivity" android:exported="true">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>

</manifest>