Update: 2026-07-27 17:18:25
This commit is contained in:
@@ -34,7 +34,7 @@ if (flutterVersionName == null) {
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "com.siro.intaleq_driver"
|
||||
namespace = "com.intaleq_driver"
|
||||
compileSdk = 36
|
||||
ndkVersion "29.0.14033849"
|
||||
|
||||
@@ -63,7 +63,7 @@ android {
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.siro.intaleq_driver"
|
||||
applicationId = "com.intaleq_driver"
|
||||
minSdkVersion = 30
|
||||
targetSdk = 36
|
||||
versionCode = flutterVersionCode.toInteger()
|
||||
|
||||
+5
-5
@@ -32,11 +32,11 @@
|
||||
|
||||
# Android Auto Car App Library
|
||||
-keep class androidx.car.app.** { *; }
|
||||
-keep class com.siro.intaleq_driver.MyCarAppService { *; }
|
||||
-keep class com.siro.intaleq_driver.MyCarSession { *; }
|
||||
-keep class com.siro.intaleq_driver.MyCarScreen { *; }
|
||||
-keep class com.siro.intaleq_driver.CarNavigationData { *; }
|
||||
-keep class com.siro.intaleq_driver.MapPresentation { *; }
|
||||
-keep class com.intaleq_driver.MyCarAppService { *; }
|
||||
-keep class com.intaleq_driver.MyCarSession { *; }
|
||||
-keep class com.intaleq_driver.MyCarScreen { *; }
|
||||
-keep class com.intaleq_driver.CarNavigationData { *; }
|
||||
-keep class com.intaleq_driver.MapPresentation { *; }
|
||||
|
||||
# MapLibre Native SDK
|
||||
-keep class org.maplibre.android.** { *; }
|
||||
|
||||
@@ -129,7 +129,7 @@
|
||||
android:exported="true"
|
||||
/>
|
||||
<service
|
||||
android:name="com.siro.intaleq_driver.trip_overlay_plugin.TripOverlayService"
|
||||
android:name="com.intaleq_driver.trip_overlay_plugin.TripOverlayService"
|
||||
android:exported="false"
|
||||
android:foregroundServiceType="specialUse" />
|
||||
<service android:name=".MyFirebaseMessagingService" android:exported="false" />
|
||||
@@ -168,7 +168,7 @@
|
||||
android:exported="true" android:permission="com.google.android.c2dm.permission.SEND">
|
||||
<intent-filter>
|
||||
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
|
||||
<category android:name="com.siro.intaleq_driver" />
|
||||
<category android:name="com.intaleq_driver" />
|
||||
</intent-filter>
|
||||
</receiver>
|
||||
<!-- خدمة الفقاعة الخاصة بك -->
|
||||
|
||||
@@ -158,7 +158,7 @@ bool checkLoadedModules()
|
||||
//}
|
||||
|
||||
extern "C" JNIEXPORT jboolean JNICALL
|
||||
Java_com_siro_siro_1driver_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
Java_com_intaleq_1driver_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
{
|
||||
|
||||
if (isRooted())
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.app.AlertDialog
|
||||
import android.content.Intent
|
||||
@@ -18,8 +18,8 @@ import java.util.Timer
|
||||
import kotlin.concurrent.schedule
|
||||
|
||||
class MainActivity : FlutterFragmentActivity() {
|
||||
private val SECURITY_CHANNEL = "com.siro.intaleq_driver/security"
|
||||
private val APP_CONTROL_CHANNEL = "com.siro.intaleq_driver/app_control"
|
||||
private val SECURITY_CHANNEL = "com.intaleq_driver/security"
|
||||
private val APP_CONTROL_CHANNEL = "com.intaleq_driver/app_control"
|
||||
private var appControlChannel: MethodChannel? = null
|
||||
|
||||
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
|
||||
@@ -63,7 +63,7 @@ class MainActivity : FlutterFragmentActivity() {
|
||||
}
|
||||
|
||||
// ✅ Channel for Android Auto Navigation Updates
|
||||
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.siro.intaleq_driver/car_navigation")
|
||||
MethodChannel(flutterEngine.dartExecutor.binaryMessenger, "com.intaleq_driver/car_navigation")
|
||||
.setMethodCallHandler { call, result ->
|
||||
when (call.method) {
|
||||
"updateNavState" -> {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.app.Presentation
|
||||
import android.content.Context
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Intent
|
||||
@@ -24,7 +24,7 @@ class MyApplication : Application() {
|
||||
|
||||
MethodChannel(
|
||||
flutterEngine.dartExecutor.binaryMessenger,
|
||||
"com.siro.intaleq_driver/app_lifecycle"
|
||||
"com.intaleq_driver/app_lifecycle"
|
||||
)
|
||||
.setMethodCallHandler { call, result ->
|
||||
if (call.method == "bringAppToForeground") {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.content.pm.ApplicationInfo
|
||||
import androidx.car.app.CarAppService
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import androidx.car.app.CarContext
|
||||
import androidx.car.app.Screen
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
import android.content.Intent
|
||||
import android.hardware.display.DisplayManager
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_driver
|
||||
package com.intaleq_driver
|
||||
|
||||
object RootDetection {
|
||||
init {
|
||||
Reference in New Issue
Block a user