|
| 1 | +<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | + xmlns:tools="http://schemas.android.com/tools" |
| 3 | + android:installLocation="auto"> |
| 4 | + |
| 5 | + <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| 6 | + <uses-permission android:name="android.permission.INTERNET" /> |
| 7 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
| 8 | + <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" /> |
| 9 | + <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
| 10 | + <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 11 | + <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
| 12 | + |
| 13 | + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 14 | + <!-- <uses-permission android:name="android.permission.USE_EXACT_ALARM" /> --> |
| 15 | + |
| 16 | + <application |
| 17 | + android:name=".LanternApp" |
| 18 | + android:icon="${appIcon}" |
| 19 | + android:label="${appLabel}" |
| 20 | + android:usesCleartextTraffic="true" |
| 21 | + android:roundIcon="${appRoundIcon}"> |
| 22 | + |
| 23 | + <activity |
| 24 | + android:name=".MainActivity" |
| 25 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 26 | + android:exported="true" |
| 27 | + android:hardwareAccelerated="true" |
| 28 | + android:launchMode="singleTask" |
| 29 | + android:taskAffinity="" |
| 30 | + android:screenOrientation="portrait" |
| 31 | + android:theme="@style/LaunchTheme" |
| 32 | + android:windowSoftInputMode="adjustResize"> |
| 33 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 34 | + the Android process has started. This theme is visible to the user |
| 35 | + while the Flutter UI initializes. After that, this theme continues |
| 36 | + to determine the Window background behind the Flutter UI. --> |
| 37 | + <meta-data |
| 38 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 39 | + android:resource="@style/NormalTheme" /> |
| 40 | + <intent-filter> |
| 41 | + <action android:name="android.intent.action.MAIN" /> |
| 42 | + <category android:name="android.intent.category.LAUNCHER" /> |
| 43 | + </intent-filter> |
| 44 | + <meta-data |
| 45 | + android:name="flutter_deeplinking_enabled" |
| 46 | + android:value="false" /> |
| 47 | + |
| 48 | + <intent-filter android:autoVerify="true"> |
| 49 | + <action android:name="android.intent.action.VIEW" /> |
| 50 | + <category android:name="android.intent.category.DEFAULT" /> |
| 51 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 52 | + <data android:scheme="https" android:host="lantern.io" android:pathPrefix="/report-issue" /> |
| 53 | + </intent-filter> |
| 54 | + <intent-filter android:autoVerify="true"> |
| 55 | + <action android:name="android.intent.action.VIEW" /> |
| 56 | + <category android:name="android.intent.category.DEFAULT" /> |
| 57 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 58 | + <data android:scheme="https" android:host="lantern.io" android:pathPrefix="/auth" /> |
| 59 | + </intent-filter> |
| 60 | + <!-- Custom scheme fallback for browsers that don't support Android App Links (e.g. Firefox) --> |
| 61 | + <intent-filter> |
| 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="lantern" android:host="auth" /> |
| 66 | + </intent-filter> |
| 67 | + <intent-filter> |
| 68 | + <action android:name="android.intent.action.VIEW" /> |
| 69 | + <category android:name="android.intent.category.DEFAULT" /> |
| 70 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 71 | + <data android:scheme="lantern" android:host="report-issue" /> |
| 72 | + </intent-filter> |
| 73 | + <intent-filter> |
| 74 | + <action android:name="android.intent.action.VIEW" /> |
| 75 | + <category android:name="android.intent.category.DEFAULT" /> |
| 76 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 77 | + <data android:scheme="lantern" android:host="private-server" /> |
| 78 | + </intent-filter> |
| 79 | + <intent-filter android:autoVerify="true"> |
| 80 | + <action android:name="android.intent.action.VIEW" /> |
| 81 | + <category android:name="android.intent.category.DEFAULT" /> |
| 82 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 83 | + <data android:scheme="https" android:host="lantern.io" android:pathPrefix="/private-server" /> |
| 84 | + </intent-filter> |
| 85 | + <intent-filter android:autoVerify="true"> |
| 86 | + <action android:name="android.intent.action.VIEW" /> |
| 87 | + <category android:name="android.intent.category.DEFAULT" /> |
| 88 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 89 | + <data android:scheme="https" android:host="www.lantern.io" android:pathPrefix="/report-issue" /> |
| 90 | + </intent-filter> |
| 91 | + <intent-filter android:autoVerify="true"> |
| 92 | + <action android:name="android.intent.action.VIEW" /> |
| 93 | + <category android:name="android.intent.category.DEFAULT" /> |
| 94 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 95 | + <data android:scheme="https" android:host="www.lantern.io" android:pathPrefix="/auth" /> |
| 96 | + </intent-filter> |
| 97 | + <intent-filter android:autoVerify="true"> |
| 98 | + <action android:name="android.intent.action.VIEW" /> |
| 99 | + <category android:name="android.intent.category.DEFAULT" /> |
| 100 | + <category android:name="android.intent.category.BROWSABLE" /> |
| 101 | + <data android:scheme="https" android:host="www.lantern.io" android:pathPrefix="/private-server" /> |
| 102 | + </intent-filter> |
| 103 | + |
| 104 | + </activity> |
| 105 | + |
| 106 | + <receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" /> |
| 107 | + <receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"> |
| 108 | + <intent-filter> |
| 109 | + <action android:name="android.intent.action.BOOT_COMPLETED"/> |
| 110 | + <action android:name="android.intent.action.MY_PACKAGE_REPLACED"/> |
| 111 | + <action android:name="android.intent.action.QUICKBOOT_POWERON" /> |
| 112 | + <action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/> |
| 113 | + </intent-filter> |
| 114 | + </receiver> |
| 115 | + |
| 116 | + <!-- Don't delete the meta-data below. |
| 117 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 118 | + <meta-data |
| 119 | + android:name="flutterEmbedding" |
| 120 | + android:value="2" /> |
| 121 | + |
| 122 | + |
| 123 | + <service |
| 124 | + android:name="foundation.bridge.SyncService" |
| 125 | + android:exported="false" |
| 126 | + android:foregroundServiceType="specialUse"> |
| 127 | + <property |
| 128 | + android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" |
| 129 | + android:value="User-controlled local proxy connection" /> |
| 130 | + </service> |
| 131 | + |
| 132 | + <meta-data |
| 133 | + android:name="com.google.android.gms.wallet.api.enabled" |
| 134 | + android:value="true"/> |
| 135 | + |
| 136 | + </application> |
| 137 | + <!-- Required to query activities that can process text, see: |
| 138 | + https://developer.android.com/training/package-visibility and |
| 139 | + https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. |
| 140 | +
|
| 141 | + In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> |
| 142 | + <queries> |
| 143 | + <intent> |
| 144 | + <action android:name="android.intent.action.PROCESS_TEXT" /> |
| 145 | + <data android:mimeType="text/plain" /> |
| 146 | + </intent> |
| 147 | + <intent> |
| 148 | + <action android:name="android.intent.action.VIEW" /> |
| 149 | + <data android:scheme="alipays" /> |
| 150 | + </intent> |
| 151 | + <intent> |
| 152 | + <action android:name="android.intent.action.VIEW" /> |
| 153 | + <data android:scheme="alipay" /> |
| 154 | + </intent> |
| 155 | + <package android:name="com.eg.android.AlipayGphone" /> |
| 156 | + </queries> |
| 157 | + |
| 158 | + |
| 159 | +</manifest> |
0 commit comments