101 lines
3.9 KiB
XML
101 lines
3.9 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- ===== Permissions ===== -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<!-- التخزين القديم (مقيَّد حسب الإصدارات) -->
|
|
<uses-permission
|
|
android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="32" />
|
|
<uses-permission
|
|
android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28" />
|
|
<!-- الإذن الحديث للصور على 33+ -->
|
|
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
|
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.READ_CONTACTS" />
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
|
|
<!-- (اختياري) تنبيهات 13+ -->
|
|
<!-- <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> -->
|
|
|
|
<!-- ===== Visibility Queries (Android 11+) =====
|
|
تمكين اكتشاف التطبيقات/الأنشطة التي تتعامل مع السكيمز:
|
|
whatsapp://, http/https, tel, sms, mailto -->
|
|
<queries>
|
|
<!-- WhatsApp -->
|
|
<package android:name="com.whatsapp" />
|
|
<intent>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="whatsapp" />
|
|
</intent>
|
|
|
|
<!-- متصفحات (http/https) -->
|
|
<intent>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="https" />
|
|
</intent>
|
|
<intent>
|
|
<action android:name="android.intent.action.VIEW" />
|
|
<data android:scheme="http" />
|
|
</intent>
|
|
|
|
<!-- هاتف / SMS / بريد -->
|
|
<intent>
|
|
<action android:name="android.intent.action.DIAL" />
|
|
<data android:scheme="tel" />
|
|
</intent>
|
|
<intent>
|
|
<action android:name="android.intent.action.SENDTO" />
|
|
<data android:scheme="smsto" />
|
|
</intent>
|
|
<intent>
|
|
<action android:name="android.intent.action.SENDTO" />
|
|
<data android:scheme="mailto" />
|
|
</intent>
|
|
|
|
<!-- تستخدمه إضافات Flutter للنصوص -->
|
|
<intent>
|
|
<action android:name="android.intent.action.PROCESS_TEXT" />
|
|
<data android:mimeType="text/plain" />
|
|
</intent>
|
|
</queries>
|
|
|
|
<!-- ===== Application ===== -->
|
|
<application
|
|
android:name="${applicationName}"
|
|
android:label="service"
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
android:usesCleartextTraffic="false"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:icon="@mipmap/launcher_icon">
|
|
|
|
<activity
|
|
android:name=".MainActivity"
|
|
android:exported="true"
|
|
android:launchMode="singleTop"
|
|
android:taskAffinity=""
|
|
android:theme="@style/LaunchTheme"
|
|
android:hardwareAccelerated="true"
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode">
|
|
|
|
<!-- Theme أثناء الإقلاع -->
|
|
<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>
|
|
|
|
<!-- مطلوب لتسجيل البلَغنز -->
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
|
|
</manifest> |