Update: 2026-07-27 17:18:25
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.siro.intaleq_rider">
|
||||
package="com.Intaleq.intaleq">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||
|
||||
@@ -157,7 +157,7 @@ bool checkLoadedModules()
|
||||
//}
|
||||
|
||||
extern "C" JNIEXPORT jboolean JNICALL
|
||||
Java_com_siro_siro_1rider_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
Java_com_Intaleq_intaleq_RootDetection_isNativeRooted(JNIEnv *env, jobject /* this */)
|
||||
{
|
||||
|
||||
if (isRooted())
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_rider
|
||||
package com.Intaleq.intaleq
|
||||
|
||||
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 = "Intaleq_live_ride_progress"
|
||||
private const val CHANNEL_NAME = "Intaleq Live Ride Progress"
|
||||
private const val CHANNEL_DESC = "Live progress updates for your current Intaleq ride"
|
||||
private const val NOTIFICATION_ID = 999
|
||||
|
||||
private const val STATUS_SEARCHING = "searching"
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_rider
|
||||
package com.Intaleq.intaleq
|
||||
|
||||
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.intaleq_rider/security"
|
||||
private val SECURITY_CHANNEL_NAME = "com.Intaleq.intaleq/security"
|
||||
private lateinit var securityChannel: MethodChannel
|
||||
|
||||
// قناة PiP الجديدة
|
||||
private val PIP_CHANNEL = "siro/pip"
|
||||
private val PIP_CHANNEL = "Intaleq/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 = "Intaleq/android_live_update"
|
||||
private lateinit var liveUpdatePlugin: AndroidLiveUpdatePlugin
|
||||
|
||||
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.siro.intaleq_rider
|
||||
package com.Intaleq.intaleq
|
||||
|
||||
object RootDetection {
|
||||
init {
|
||||
Reference in New Issue
Block a user