diff --git a/Mohem/config.xml b/Mohem/config.xml index 381cba92..1b7270fd 100644 --- a/Mohem/config.xml +++ b/Mohem/config.xml @@ -1,5 +1,5 @@ - + Al Habib MOHEMM an app created by cloud Solutions HMG diff --git a/Mohem/package.json b/Mohem/package.json index faded0a8..9b2304f5 100644 --- a/Mohem/package.json +++ b/Mohem/package.json @@ -47,6 +47,7 @@ "@ionic-native/launch-navigator": "^5.17.0", "@ionic-native/local-notifications": "^5.17.0", "@ionic-native/native-storage": "^5.17.0", + "@ionic-native/nfc": "^5.30.0", "@ionic-native/open-native-settings": "^5.14.0", "@ionic-native/splash-screen": "^5.0.0", "@ionic-native/sqlite": "^5.18.0", @@ -107,6 +108,7 @@ "ng2-pdf-viewer": "^5.3.2", "ngx-gauge": "^1.0.0-beta.10", "npm": "^6.13.7", + "phonegap-nfc": "^1.2.0", "phonegap-plugin-barcodescanner": "^8.1.0", "phonegap-plugin-multidex": "^1.0.0", "primeicons": "^1.0.0", @@ -219,7 +221,8 @@ }, "cordova-plugin-background-geolocation": { "GOOGLE_PLAY_SERVICES_VERSION": "+" - } + }, + "phonegap-nfc": {} }, "platforms": [ "browser", diff --git a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts index d1368685..2ae1bdb2 100644 --- a/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts +++ b/Mohem/src/app/hmg-common/services/authentication/authentication.service.ts @@ -134,7 +134,7 @@ export class AuthenticationService { } else if (isIOS) { mobileType = 'ios'; } - request.VersionID = 2.3; + request.VersionID = 2.5; request.Channel = 33; request.LanguageID = TranslatorService.getCurrentLanguageCode(); request.MobileType = mobileType; 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 2857c3b1..acd8ff0e 100644 --- a/Mohem/src/app/hmg-common/services/connector/connector.service.ts +++ b/Mohem/src/app/hmg-common/services/connector/connector.service.ts @@ -24,8 +24,8 @@ export class ConnectorService { public static timeOut = 120 * 1000; // public static host = 'http://10.50.100.113:6060/'; // development service -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/'; // public static host = 'http://10.50.100.198:6060/'; // public static host = 'http://10.50.100.113:6060/'; // development service /* public static host = 'http://10.50.100.198:6060/';