mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-02-12 16:52:51 +00:00
67 lines
2.7 KiB
XML
67 lines
2.7 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
||
<!-- Internet permission for map tiles and API calls -->
|
||
<uses-permission android:name="android.permission.INTERNET"/>
|
||
|
||
<!-- Location permissions for blue‑dot positioning -->
|
||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
|
||
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
|
||
|
||
<!-- Notification permission for proximity alerts -->
|
||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
||
|
||
<application
|
||
android:name="${applicationName}"
|
||
android:label="DeFlock"
|
||
android:icon="@mipmap/ic_launcher"
|
||
android:enableOnBackInvokedCallback="true">
|
||
<!-- Main Flutter activity -->
|
||
<activity
|
||
android:name=".MainActivity"
|
||
android:exported="true"
|
||
android:launchMode="singleTop"
|
||
android:hardwareAccelerated="true"
|
||
android:theme="@style/LaunchTheme"
|
||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||
android:windowSoftInputMode="adjustNothing">
|
||
|
||
<!-- The theme behind the splash while Flutter initializes -->
|
||
<meta-data
|
||
android:name="io.flutter.embedding.android.NormalTheme"
|
||
android:resource="@style/NormalTheme" />
|
||
|
||
<!-- Launcher intent -->
|
||
<intent-filter>
|
||
<action android:name="android.intent.action.MAIN"/>
|
||
<category android:name="android.intent.category.LAUNCHER"/>
|
||
</intent-filter>
|
||
</activity>
|
||
|
||
<!-- flutter_web_auth_2 callback activity (V2 embedding) -->
|
||
<activity
|
||
android:name="com.linusu.flutter_web_auth_2.CallbackActivity"
|
||
android:exported="true"
|
||
android:launchMode="singleTask">
|
||
<intent-filter android:label="flutter_web_auth_2">
|
||
<action android:name="android.intent.action.VIEW"/>
|
||
<category android:name="android.intent.category.DEFAULT"/>
|
||
<category android:name="android.intent.category.BROWSABLE"/>
|
||
<data android:scheme="deflockapp" android:host="auth"/>
|
||
</intent-filter>
|
||
</activity>
|
||
|
||
<!-- Flutter plugin registration flag -->
|
||
<meta-data
|
||
android:name="flutterEmbedding"
|
||
android:value="2" />
|
||
</application>
|
||
|
||
<!-- Required so ProcessTextPlugin can query other apps -->
|
||
<queries>
|
||
<intent>
|
||
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
||
<data android:mimeType="text/plain"/>
|
||
</intent>
|
||
</queries>
|
||
</manifest>
|