budget-app/app/resources/android/AndroidManifest.xml.template

34 lines
No EOL
2.7 KiB
XML

<?xml version='1.0' encoding='utf-8'?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="{package_id}" android:versionCode="{version_code}" android:versionName="{version_name}">
<uses-sdk android:minSdkVersion="{min_sdk_version}" android:targetSdkVersion="{target_sdk_version}" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
<application android:label="{label}" android:allowBackup="false" android:debuggable="{debuggable}">
<activity android:name=".{class_name}" android:exported="true" android:launchMode="singleTask" android:configChanges="orientation|screenSize|keyboardHidden" android:windowSoftInputMode="adjustNothing|stateUnchanged" android:theme="@style/MakepadLaunchTheme">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="org.nigig.budgetshare.CapturePermissionActivity" android:exported="false" android:excludeFromRecents="true" android:theme="@android:style/Theme.Material.Light.NoActionBar" />
<service android:name="org.nigig.budgetshare.BudgetTileService" android:label="Add to Budget" android:icon="@drawable/ic_budget_capture" android:permission="android.permission.BIND_QUICK_SETTINGS_TILE" android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
</service>
<service android:name="org.nigig.budgetshare.BudgetOverlayService" android:exported="false" android:foregroundServiceType="specialUse|mediaProjection">
<property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="User-enabled floating product capture button, stopped explicitly via bubble or notification; single-frame screen sharing only after consent." />
</service>
<activity android:name="org.nigig.budgetshare.ShareToBudget" android:label="Add to Budget" android:exported="true" android:theme="@android:style/Theme.Material.Light.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
</application>
</manifest>