المجلدات وأسماء حزم dart واستيراداتها: siro_rider → intaleq_rider siro_driver → intaleq_driver siro_admin → intaleq_admin siro_service → intaleq_service شمل ذلك `name:` في كل pubspec وكل `package:siro_*` في الاستيرادات (115 ملفاً في rider وحده)، وإشارات أسماء المجلدات في docs/ وتعليق في backend/Admin/notifications/broadcast.php. لم تبقَ إشارة واحدة (تحقّقت). + ضُمّت حزم get و get_storage داخل intaleq_driver/packages/ وحُوّلت مساراتها الثلاثة من `../../Intaleq/packages/*` إلى `./packages/*`. كانت تُحل عرضاً إلى مجلد App/Intaleq القديم المجاور — تبعية خارج المستودع تنكسر بأول نقل. لم يبقَ في أي تطبيق تبعية مسار خارج الشجرة. ⚠️ لم تُمسّ بعد: هويات المتاجر (applicationId · PRODUCT_BUNDLE_IDENTIFIER · shorebird app_id) ولا الألوان ولا النصوص المرئية ولا النطاقات — كل منها كوميت منفصل، والهويات تحتاج قرار المالك. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
82 lines
3.3 KiB
XML
82 lines
3.3 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<!-- Internet permission (usually not needed explicitly for Flutter, but safe to include) -->
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
|
|
<!-- Fine location (already present) -->
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
<!-- Camera -->
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
|
|
<!-- Read/write external storage (for accessing photos) -->
|
|
<!-- On Android 10+ (API 29+), scoped storage reduces need for WRITE_EXTERNAL_STORAGE -->
|
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="32" />
|
|
<!-- Optional: only needed if writing images (e.g., saving captured photos) on older Android -->
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
|
|
android:maxSdkVersion="28" />
|
|
|
|
<application
|
|
android:label="Siro Admin"
|
|
android:name="${applicationName}"
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
android:networkSecurityConfig="@xml/network_security_config"
|
|
android:usesCleartextTraffic="false"
|
|
android:icon="@mipmap/ic_launcher">
|
|
|
|
<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">
|
|
<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>
|
|
<activity
|
|
android:name="com.yalantis.ucrop.UCropActivity"
|
|
android:screenOrientation="portrait"
|
|
android:exported="false"
|
|
android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
|
|
<meta-data
|
|
android:name="flutterEmbedding"
|
|
android:value="2" />
|
|
</application>
|
|
|
|
<!-- Package visibility: allow interaction with camera & gallery apps on Android 11+ -->
|
|
<queries>
|
|
<!-- For text processing (already present) -->
|
|
<intent>
|
|
<action android:name="android.intent.action.PROCESS_TEXT" />
|
|
<data android:mimeType="text/plain" />
|
|
</intent>
|
|
|
|
<!-- Allow launching camera apps -->
|
|
<intent>
|
|
<action android:name="android.media.action.IMAGE_CAPTURE" />
|
|
</intent>
|
|
|
|
<!-- Allow launching gallery/photo picker apps -->
|
|
<intent>
|
|
<action android:name="android.intent.action.GET_CONTENT" />
|
|
<data android:mimeType="image/*" />
|
|
</intent>
|
|
|
|
<!-- Optional: for opening image viewers or file managers -->
|
|
<intent>
|
|
<action android:name="android.intent.action.OPEN_DOCUMENT" />
|
|
<data android:mimeType="image/*" />
|
|
</intent>
|
|
</queries>
|
|
|
|
</manifest> |