From 1fd51782d43a0f4e41fcbbdb233b7564479bef17 Mon Sep 17 00:00:00 2001 From: umasoodch Date: Wed, 23 Feb 2022 16:49:55 +0300 Subject: [PATCH] fixed prod issue --- Mohem/package.json | 7 ++++++- .../app/authentication/check-user/check-user.component.ts | 2 +- .../app/hmg-common/services/connector/connector.service.ts | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Mohem/package.json b/Mohem/package.json index 23dbf7c0..5acd1d9f 100644 --- a/Mohem/package.json +++ b/Mohem/package.json @@ -35,6 +35,7 @@ "@ionic-native/device": "^5.18.0", "@ionic-native/diagnostic": "^5.18.0", "@ionic-native/file": "^5.18.0", + "@ionic-native/file-opener": "^5.36.0", "@ionic-native/file-path": "^5.18.0", "@ionic-native/fingerprint-aio": "^5.18.0", "@ionic-native/firebase-x": "^5.34.0", @@ -81,6 +82,7 @@ "cordova-plugin-device": "^2.0.3", "cordova-plugin-dialogs": "^2.0.2", "cordova-plugin-file": "^6.0.2", + "cordova-plugin-file-opener2": "^3.0.5", "cordova-plugin-filepath": "^1.5.6", "cordova-plugin-fingerprint-aio": "^3.0.0", "cordova-plugin-firebasex": "^13.0.0", @@ -236,6 +238,9 @@ }, "cordova-plugin-sms-retriever-manager": { "PLAY_SERVICES_VERSION": "15.0.1" + }, + "cordova-plugin-file-opener2": { + "ANDROID_SUPPORT_V4_VERSION": "27.+" } }, "platforms": [ @@ -243,4 +248,4 @@ "ios" ] } -} +} \ No newline at end of file diff --git a/Mohem/src/app/authentication/check-user/check-user.component.ts b/Mohem/src/app/authentication/check-user/check-user.component.ts index 6fce627c..2b74c986 100644 --- a/Mohem/src/app/authentication/check-user/check-user.component.ts +++ b/Mohem/src/app/authentication/check-user/check-user.component.ts @@ -61,7 +61,7 @@ export class CheckUserComponent implements OnInit { private checkUserResult: CheckUserAuthenticationResponse; - private sendSMSForForgotPassword() { + public sendSMSForForgotPassword() { this.cs.startLoading(); let changePwdObj= new LoginRequest(); // changePwdObj.MobileNumber= this.checkUserResult.BasicMemberInformation.P_MOBILE_NUMBER; diff --git a/Mohem/src/app/hmg-common/services/connector/connector.service.ts b/Mohem/src/app/hmg-common/services/connector/connector.service.ts index f472cb49..5a1959c6 100644 --- a/Mohem/src/app/hmg-common/services/connector/connector.service.ts +++ b/Mohem/src/app/hmg-common/services/connector/connector.service.ts @@ -27,8 +27,8 @@ export class ConnectorService { public static retryTimes = 0; public static timeOut = 180 * 1000; - public static host = 'https://uat.hmgwebservices.com/'; - // public static host = 'https://hmgwebservices.com/'; + // public static host = 'https://uat.hmgwebservices.com/'; + public static host = 'https://hmgwebservices.com/'; constructor(public httpClient: HttpClient, public cs: CommonService,