Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / fooddelivery / src / main / AndroidManifest.xml
AndroidManifest.xml122 lines · 6.1 KiBRaw
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools"> |
| 4 | |
| 5 | <!-- MAOS: opt out of the GrapheneOS Sensors permission (OTHER_SENSORS). --> |
| 6 | <!-- This app uses no motion/environment sensors; MAOS withholds the --> |
| 7 | <!-- Sensors permission at install instead of auto-granting it. --> |
| 8 | <uses-permission android:name="com.vayunmathur.permission.SENSORS_OPTOUT" /> |
| 9 | |
| 10 | <uses-permission android:name="android.permission.INTERNET" /> |
| 11 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 12 | <!-- Live Updates (API 36 ProgressStyle promoted ongoing): install-time, no runtime prompt. --> |
| 13 | <uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" /> |
| 14 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 15 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 16 | |
| 17 | <permission |
| 18 | android:name="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" |
| 19 | android:protectionLevel="signature" /> |
| 20 | |
| 21 | <application |
| 22 | android:allowBackup="false" |
| 23 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 24 | android:icon="@mipmap/ic_launcher" |
| 25 | android:roundIcon="@mipmap/ic_launcher" |
| 26 | android:label="@string/app_name" |
| 27 | android:supportsRtl="true" |
| 28 | android:theme="@style/Theme.General"> |
| 29 | |
| 30 | <activity |
| 31 | android:name=".MainActivity" |
| 32 | android:exported="true" |
| 33 | android:launchMode="singleTop" |
| 34 | android:theme="@style/Theme.General"> |
| 35 | <intent-filter> |
| 36 | <action android:name="android.intent.action.MAIN" /> |
| 37 | <category android:name="android.intent.category.LAUNCHER" /> |
| 38 | </intent-filter> |
| 39 | <intent-filter> |
| 40 | <action android:name="android.intent.action.VIEW" /> |
| 41 | <category android:name="android.intent.category.DEFAULT" /> |
| 42 | <category android:name="android.intent.category.BROWSABLE" /> |
| 43 | <data android:scheme="fooddelivery" android:host="restaurant" /> |
| 44 | </intent-filter> |
| 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.VIEW" /> |
| 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | <category android:name="android.intent.category.BROWSABLE" /> |
| 49 | <data android:scheme="fooddelivery" android:host="checkout" /> |
| 50 | </intent-filter> |
| 51 | <!-- Email verification links, in both forms the official Bites app accepts: the |
| 52 | custom scheme the withbites.com verify page hands off to, and the web link in |
| 53 | the email itself. Not autoVerify — we can't serve assetlinks on withbites.com, |
| 54 | so the https form shows up as a choice in the "Open with" sheet. --> |
| 55 | <intent-filter> |
| 56 | <action android:name="android.intent.action.VIEW" /> |
| 57 | <category android:name="android.intent.category.DEFAULT" /> |
| 58 | <category android:name="android.intent.category.BROWSABLE" /> |
| 59 | <data android:scheme="com.deliverycollective.storefront" android:host="email-verification" /> |
| 60 | </intent-filter> |
| 61 | <intent-filter tools:ignore="AppLinkWarning"> |
| 62 | <action android:name="android.intent.action.VIEW" /> |
| 63 | <category android:name="android.intent.category.DEFAULT" /> |
| 64 | <category android:name="android.intent.category.BROWSABLE" /> |
| 65 | <data android:scheme="https" /> |
| 66 | <data android:host="withbites.com" /> |
| 67 | <data android:host="www.withbites.com" /> |
| 68 | <data android:pathPrefix="/email-verification/" /> |
| 69 | </intent-filter> |
| 70 | </activity> |
| 71 | |
| 72 | <activity |
| 73 | android:name=".intents.OrderLookupIntent" |
| 74 | android:exported="true" |
| 75 | android:theme="@android:style/Theme.NoDisplay" |
| 76 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 77 | |
| 78 | <!-- Assistant provider intents (P4): same ACCESS_ORDERS signature |
| 79 | permission as OrderLookupIntent. The assistant never creates |
| 80 | orders; checkout happens in-app via fooddelivery://checkout. --> |
| 81 | <activity |
| 82 | android:name=".intents.FindRestaurantsIntent" |
| 83 | android:exported="true" |
| 84 | android:theme="@android:style/Theme.NoDisplay" |
| 85 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 86 | <activity |
| 87 | android:name=".intents.GetMenuIntent" |
| 88 | android:exported="true" |
| 89 | android:theme="@android:style/Theme.NoDisplay" |
| 90 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 91 | <activity |
| 92 | android:name=".intents.GetCartIntent" |
| 93 | android:exported="true" |
| 94 | android:theme="@android:style/Theme.NoDisplay" |
| 95 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 96 | <activity |
| 97 | android:name=".intents.SetCartIntent" |
| 98 | android:exported="true" |
| 99 | android:theme="@android:style/Theme.NoDisplay" |
| 100 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 101 | <activity |
| 102 | android:name=".intents.PrepareOrderIntent" |
| 103 | android:exported="true" |
| 104 | android:theme="@android:style/Theme.NoDisplay" |
| 105 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 106 | <activity |
| 107 | android:name=".intents.GetOrdersIntent" |
| 108 | android:exported="true" |
| 109 | android:theme="@android:style/Theme.NoDisplay" |
| 110 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 111 | |
| 112 | <service |
| 113 | android:name=".notifications.OrderTrackingService" |
| 114 | android:exported="false" |
| 115 | android:foregroundServiceType="specialUse"> |
| 116 | <property |
| 117 | android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 118 | android:value="order_tracking" /> |
| 119 | </service> |
| 120 | </application> |
| 121 | |
| 122 | </manifest> |