إضافة الهوية الجديدة Tripz

This commit is contained in:
Hamza-Ayed
2026-07-29 02:31:04 +03:00
parent ecbe245b77
commit b9a97effe5
634 changed files with 5149 additions and 5294 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ if (flutterVersionName == null) {
}
android {
namespace = "com.siro.siro_rider"
namespace = "com.tripz.tripz_rider"
compileSdk = 36
ndkVersion "29.0.14033849"
@@ -62,7 +62,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.siro.rider"
applicationId = "com.mobileapp.store.ride"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdkVersion = 30
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.siro.siro_rider">
package="com.tripz.tripz_rider">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
@@ -74,8 +74,8 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="siromove.com" android:pathPrefix="/" />
<data android:scheme="https" android:host="www.siromove.com"
<data android:scheme="https" android:host="tripzmove.com" android:pathPrefix="/" />
<data android:scheme="https" android:host="www.tripzmove.com"
android:pathPrefix="/" />
</intent-filter>
@@ -83,7 +83,7 @@
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="siromove" />
<data android:scheme="tripzmove" />
</intent-filter>
<intent-filter>
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10.2) # Use 3.10.2 for consistency.
project(siro)
project(tripz)
add_library(native-lib SHARED native-lib.cpp)
@@ -157,7 +157,7 @@ bool checkLoadedModules()
//}
extern "C" JNIEXPORT jboolean JNICALL
Java_com_siro_siro_1rider_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
Java_com_tripz_tripz_1rider_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
{
if (isRooted())
@@ -1,4 +1,4 @@
package com.siro.siro_rider
package com.tripz.tripz_rider
import android.app.Notification
import android.app.NotificationChannel
@@ -32,9 +32,9 @@ import io.flutter.plugin.common.MethodCall
class AndroidLiveUpdatePlugin(private val context: Context) {
companion object {
private const val CHANNEL_ID = "siro_live_ride_progress"
private const val CHANNEL_NAME = "Siro Live Ride Progress"
private const val CHANNEL_DESC = "Live progress updates for your current Siro ride"
private const val CHANNEL_ID = "tripz_live_ride_progress"
private const val CHANNEL_NAME = "Tripz Live Ride Progress"
private const val CHANNEL_DESC = "Live progress updates for your current Tripz ride"
private const val NOTIFICATION_ID = 999
private const val STATUS_SEARCHING = "searching"
@@ -80,7 +80,7 @@ class AndroidLiveUpdatePlugin(private val context: Context) {
/**
* هل يمكن فعلياً استخدام Live Updates الحقيقية الآن؟
* تتطلب أندرويد 16+ وموافقة صريحة من المستخدم عبر إعدادات النظام
* (Settings > Apps > Siro > Notifications > Live Updates).
* (Settings > Apps > Tripz > Notifications > Live Updates).
*/
@Suppress("NewApi")
private fun canUsePromotedLiveUpdate(): Boolean {
@@ -1,4 +1,4 @@
package com.siro.siro_rider
package com.tripz.tripz_rider
import android.app.AlertDialog
import android.app.PictureInPictureParams
@@ -21,15 +21,15 @@ import kotlin.concurrent.schedule
class MainActivity : FlutterFragmentActivity() {
// قناة الأمان (كما هي)
private val SECURITY_CHANNEL_NAME = "com.siro.siro_rider/security"
private val SECURITY_CHANNEL_NAME = "com.tripz.tripz_rider/security"
private lateinit var securityChannel: MethodChannel
// قناة PiP الجديدة
private val PIP_CHANNEL = "siro/pip"
private val PIP_CHANNEL = "tripz/pip"
private var pipEnabled = false // هل الرحلة نشطة ويجب تفعيل PiP عند الخروج؟
// قناة Android Live Update (Android 16 Progress Style)
private val LIVE_UPDATE_CHANNEL = "siro/android_live_update"
private val LIVE_UPDATE_CHANNEL = "tripz/android_live_update"
private lateinit var liveUpdatePlugin: AndroidLiveUpdatePlugin
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
@@ -1,4 +1,4 @@
package com.siro.siro_rider
package com.tripz.tripz_rider
object RootDetection {
init {
@@ -4,5 +4,5 @@
تشغيل التطبيق على هذا الجهاز.</string>
<string name="exit_button">إغلاق التطبيق</string>
<string name="device_secure">الجهاز آمن. الاستمرار بشكل طبيعي.</string>
<string name="label">سيرو</string>
<string name="label">تريبز</string>
</resources>
@@ -12,5 +12,5 @@
this device. The app cannot run on this device.</string>
<string name="exit_button">Exit App</string>
<string name="device_secure">Device is secure. Proceeding normally.</string>
<string name="label">Siro Rider</string>
<string name="label">Tripz Rider</string>
</resources>
@@ -7,8 +7,8 @@
</base-config>
<domain-config cleartextTrafficPermitted="false">
<domain includeSubdomains="true">intaleq.xyz</domain>
<domain includeSubdomains="true">siromove.com</domain>
<domain includeSubdomains="true">tripz.xyz</domain>
<domain includeSubdomains="true">tripzmove.com</domain>
<pin-set expiration="2028-01-01">
<!-- Primary: ISRG Root X1 (RSA) -->