From 685eec6a5237f9d27aa599b15ffc5e9c80be133e Mon Sep 17 00:00:00 2001 From: haroon amjad Date: Tue, 6 Jan 2026 15:28:49 +0300 Subject: [PATCH] updates & fixes --- android/app/src/main/res/values/mapbox_access_token.xml | 2 +- ios/Runner/Penguin/PenguinView.swift | 6 +----- lib/core/utils/penguin_method_channel.dart | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/android/app/src/main/res/values/mapbox_access_token.xml b/android/app/src/main/res/values/mapbox_access_token.xml index f1daf69..65bc4b3 100644 --- a/android/app/src/main/res/values/mapbox_access_token.xml +++ b/android/app/src/main/res/values/mapbox_access_token.xml @@ -1,3 +1,3 @@ - sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg + \ No newline at end of file diff --git a/ios/Runner/Penguin/PenguinView.swift b/ios/Runner/Penguin/PenguinView.swift index 9eaac08..d5303e2 100644 --- a/ios/Runner/Penguin/PenguinView.swift +++ b/ios/Runner/Penguin/PenguinView.swift @@ -235,10 +235,6 @@ class PenguinView: NSObject, FlutterPlatformView, PIEventsDelegate, PenNavInitia print("====== onPenNavUIDismiss =========") - - - - self.view().removeFromSuperview() } @@ -361,7 +357,7 @@ class PenguinView: NSObject, FlutterPlatformView, PIEventsDelegate, PenNavInitia - PenNavUIManager.shared.getToken(clientID: config.clientID, clientKey: config.clientKey, showProgress: true) { [weak self] token, error in + PenNavUIManager.shared.getToken(clientID: config.clientID, clientKey: config.clientKey, showProgress: false) { [weak self] token, error in if let error = error { diff --git a/lib/core/utils/penguin_method_channel.dart b/lib/core/utils/penguin_method_channel.dart index 185ab42..1f19037 100644 --- a/lib/core/utils/penguin_method_channel.dart +++ b/lib/core/utils/penguin_method_channel.dart @@ -25,7 +25,7 @@ class PenguinMethodChannel { "clientKey": "UGVuZ3VpbklOX1Blbk5hdl9QSUY=", "username": details?.patientId ?? "Haroon", // "username": "Haroon", - "isSimulationModeEnabled": true, + "isSimulationModeEnabled": false, "isShowUserName": false, "isUpdateUserLocationSmoothly": true, "isEnableReportIssue": true,