Modern-Apps.git
Publicgit clone https://git.maproj.org/Modern-Apps.gitModern-Apps.git / fooddelivery / src / main / AndroidManifest.xml
AndroidManifest.xml77 lines · 3.7 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 | <uses-permission android:name="android.permission.INTERNET" /> |
| 6 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 7 | <!-- Live Updates (API 36 ProgressStyle promoted ongoing): install-time, no runtime prompt. --> |
| 8 | <uses-permission android:name="android.permission.POST_PROMOTED_NOTIFICATIONS" /> |
| 9 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 10 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 11 | |
| 12 | <permission |
| 13 | android:name="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" |
| 14 | android:protectionLevel="signature" /> |
| 15 | |
| 16 | <application |
| 17 | android:allowBackup="false" |
| 18 | android:dataExtractionRules="@xml/data_extraction_rules" |
| 19 | android:icon="@mipmap/ic_launcher" |
| 20 | android:roundIcon="@mipmap/ic_launcher" |
| 21 | android:label="@string/app_name" |
| 22 | android:supportsRtl="true" |
| 23 | android:theme="@style/Theme.General"> |
| 24 | |
| 25 | <activity |
| 26 | android:name=".MainActivity" |
| 27 | android:exported="true" |
| 28 | android:launchMode="singleTop" |
| 29 | android:theme="@style/Theme.General"> |
| 30 | <intent-filter> |
| 31 | <action android:name="android.intent.action.MAIN" /> |
| 32 | <category android:name="android.intent.category.LAUNCHER" /> |
| 33 | </intent-filter> |
| 34 | <intent-filter> |
| 35 | <action android:name="android.intent.action.VIEW" /> |
| 36 | <category android:name="android.intent.category.DEFAULT" /> |
| 37 | <category android:name="android.intent.category.BROWSABLE" /> |
| 38 | <data android:scheme="fooddelivery" android:host="restaurant" /> |
| 39 | </intent-filter> |
| 40 | <!-- Email verification links, in both forms the official Bites app accepts: the |
| 41 | custom scheme the withbites.com verify page hands off to, and the web link in |
| 42 | the email itself. Not autoVerify — we can't serve assetlinks on withbites.com, |
| 43 | so the https form shows up as a choice in the "Open with" sheet. --> |
| 44 | <intent-filter> |
| 45 | <action android:name="android.intent.action.VIEW" /> |
| 46 | <category android:name="android.intent.category.DEFAULT" /> |
| 47 | <category android:name="android.intent.category.BROWSABLE" /> |
| 48 | <data android:scheme="com.deliverycollective.storefront" android:host="email-verification" /> |
| 49 | </intent-filter> |
| 50 | <intent-filter tools:ignore="AppLinkWarning"> |
| 51 | <action android:name="android.intent.action.VIEW" /> |
| 52 | <category android:name="android.intent.category.DEFAULT" /> |
| 53 | <category android:name="android.intent.category.BROWSABLE" /> |
| 54 | <data android:scheme="https" /> |
| 55 | <data android:host="withbites.com" /> |
| 56 | <data android:host="www.withbites.com" /> |
| 57 | <data android:pathPrefix="/email-verification/" /> |
| 58 | </intent-filter> |
| 59 | </activity> |
| 60 | |
| 61 | <activity |
| 62 | android:name=".intents.OrderLookupIntent" |
| 63 | android:exported="true" |
| 64 | android:theme="@android:style/Theme.NoDisplay" |
| 65 | android:permission="com.vayunmathur.fooddelivery.permissions.ACCESS_ORDERS" /> |
| 66 | |
| 67 | <service |
| 68 | android:name=".notifications.OrderTrackingService" |
| 69 | android:exported="false" |
| 70 | android:foregroundServiceType="specialUse"> |
| 71 | <property |
| 72 | android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 73 | android:value="order_tracking" /> |
| 74 | </service> |
| 75 | </application> |
| 76 | |
| 77 | </manifest> |