diff --git a/android/app/src/main/kotlin/com/ejada/hmg/penguin/PenguinView.kt b/android/app/src/main/kotlin/com/ejada/hmg/penguin/PenguinView.kt index b18f979..46cfcc2 100644 --- a/android/app/src/main/kotlin/com/ejada/hmg/penguin/PenguinView.kt +++ b/android/app/src/main/kotlin/com/ejada/hmg/penguin/PenguinView.kt @@ -220,7 +220,7 @@ internal class PenguinView( .setDeepLinkData("") .setEnableSharedLocationCallBack(false) .setShowUILoader(true) - .setCampusId(creationParams["projectID"] as Int) + .setCampusId(creationParams["projectID"] as Int) .build() diff --git a/ios/Runner/Penguin/PenguinView.swift b/ios/Runner/Penguin/PenguinView.swift index 3824dff..a363849 100644 --- a/ios/Runner/Penguin/PenguinView.swift +++ b/ios/Runner/Penguin/PenguinView.swift @@ -182,7 +182,7 @@ class PenguinView: NSObject, FlutterPlatformView, PIEventsDelegate, PenNavInitia .setBackButtonVisibility(visible: true) -// .setCampusID(args.projectID) + .setCampusID(args.projectID) .build() diff --git a/lib/core/utils/penguin_method_channel.dart b/lib/core/utils/penguin_method_channel.dart index 27497f9..a2972f2 100644 --- a/lib/core/utils/penguin_method_channel.dart +++ b/lib/core/utils/penguin_method_channel.dart @@ -12,24 +12,24 @@ class PenguinMethodChannel { try { await _channel.invokeMethod('launchPenguin', { "storyboardName": storyboardName, - "baseURL": "https://prod.hmg.nav.penguinin.com", + "baseURL": "https://penguinuat.hmg.com", // "dataURL": "https://hmg.nav.penguinin.com", // "positionURL": "https://hmg.nav.penguinin.com", // "dataURL": "https://hmg-v33.local.penguinin.com", // "positionURL": "https://hmg-v33.local.penguinin.com", - "dataURL": "https://prod.hmg.nav.penguinin.com", - "positionURL": "https://prod.hmg.nav.penguinin.com", + "dataURL": "https://penguinuat.hmg.com", + "positionURL": "https://penguinuat.hmg.com", "dataServiceName": "api", "positionServiceName": "pe", "clientID": "HMG", + "clientKey": "UGVuZ3VpbklOX1Blbk5hdl9QSUY=", + "username": details?.patientId ?? "4770714", // "username": "Haroon", - "username": "username", "isSimulationModeEnabled": false, "isShowUserName": false, "isUpdateUserLocationSmoothly": true, "isEnableReportIssue": true, "languageCode": languageCode, - "clientKey": "UGVuZ3VpbklOX1Blbk5hdl9QSUY=", "mapBoxKey": "sk.eyJ1IjoicndhaWQiLCJhIjoiY2x6NWo0bTMzMWZodzJrcGZpemYzc3Z4dSJ9.uSSZuwNSGCcCdPAiORECmg", "clinicID": details?.clinicId ?? "", // "clinicID": "108", // 46 ,49, 133