82 lines
2.7 KiB
XML
82 lines
2.7 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
<!-- ===================================================== -->
|
|
<!-- PERMISSION -->
|
|
<!-- ===================================================== -->
|
|
|
|
<!-- Android 13+ -->
|
|
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/>
|
|
|
|
<!-- Android 12 ke bawah -->
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
|
|
|
|
<!-- Kamera -->
|
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
|
|
<!-- FOREGROUND SERVICE -->
|
|
|
|
|
|
<!-- NOTIFIKASI -->
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
|
|
|
<!-- SCHEDULE EXACT ALARM untuk Android 13+ -->
|
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
|
|
|
|
<!-- AGAR SERVICE TETAP HIDUP -->
|
|
|
|
|
|
<application
|
|
android:label="absensi"
|
|
android:name="${applicationName}"
|
|
android:icon="@mipmap/ic_launcher">
|
|
|
|
<!-- ===================================================== -->
|
|
<!-- MAIN ACTIVITY -->
|
|
<!-- ===================================================== -->
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:taskAffinity=""
|
|
android:theme="@style/LaunchTheme"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
|
android:hardwareAccelerated="true"
|
|
android:windowSoftInputMode="adjustResize">
|
|
|
|
<!-- Splash -->
|
|
<meta-data
|
|
android:name="io.flutter.embedding.android.NormalTheme"
|
|
android:resource="@style/NormalTheme"/>
|
|
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<!-- ===================================================== -->
|
|
<!-- FLUTTER -->
|
|
<!-- ===================================================== -->
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2"/>
|
|
|
|
</application>
|
|
|
|
<!-- ===================================================== -->
|
|
<!-- QUERY -->
|
|
<!-- ===================================================== -->
|
|
<queries>
|
|
|
|
<intent>
|
|
<action android:name="android.intent.action.PROCESS_TEXT"/>
|
|
<data android:mimeType="text/plain"/>
|
|
</intent>
|
|
|
|
</queries>
|
|
|
|
</manifest> |