App update to stores VersionID 9.9

update_flutter_3.16.0_sdk-upgrade
haroon amjad 3 months ago
parent ba284cb260
commit 0a33d5fd07

@ -4,14 +4,14 @@ const MAX_SMALL_SCREEN = 660;
const ONLY_NUMBERS = "[0-9]";
const ONLY_LETTERS = "[a-zA-Z &'\"]";
const ONLY_DATE = "[0-9/]";
// const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
const BASE_URL_LIVE_CARE = 'https://uat.hmgwebservices.com/';
const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
// const BASE_URL_LIVE_CARE = 'https://uat.hmgwebservices.com/';
const DOCTOR_ROTATION = 'https://doctorrota.hmg.com/';
// const BASE_URL = 'https://hmgwebservices.com/';
const BASE_URL = 'https://hmgwebservices.com/';
// const BASE_URL = 'http://10.20.200.111:1010/';
const BASE_URL = 'https://uat.hmgwebservices.com/';
// const BASE_URL = 'https://uat.hmgwebservices.com/';
// const BASE_URL = 'https://hmgwebservices.com/';
@ -413,7 +413,7 @@ const TRANSACTION_NO = 0;
const LANGUAGE_ID = 2;
const STAMP = '2020-04-27T12:17:17.721Z';
const IP_ADDRESS = '9.9.9.9';
const VERSION_ID = 9.8;
const VERSION_ID = 9.9;
const CHANNEL = 9;
const SESSION_ID = 'BlUSkYymTt';
const IS_LOGIN_FOR_DOCTOR_APP = true;

@ -115,7 +115,7 @@ class SickLeaveService extends BaseService {
Future getSickLeavePatient(patientMRN) async {
_sickLeavePatientRequestModel = SickLeavePatientRequestModel(
patientID: patientMRN, patientTypeID: 2, patientType: 1);
patientID: patientMRN, patientTypeID: 2, patientType: 1, patientMRN: patientMRN);
hasError = false;
getAllSickLeavePatient = [];
getAllSickLeavePatient.clear();

@ -30,12 +30,11 @@ void main() async {
//clearing all the shared pref on the inital start to avoid any profile issue
Future<void> clearPrefsOnFirstLaunch() async {
SharedPreferences prefs = await SharedPreferences. getInstance();
SharedPreferences prefs = await SharedPreferences.getInstance();
bool isFirstLaunch = prefs.getBool('isFirstLaunch') ?? true;
await prefs.clear(); // Clear all prefs
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
@ -60,7 +59,10 @@ class MyApp extends StatelessWidget {
)
],
child: Consumer<ProjectViewModel>(
builder: (context, projectProvider, child) => MaterialApp(
builder: (context, projectProvider, child) => SafeArea(
top: false,
bottom: Platform.isAndroid ? true : false,
child: MaterialApp(
showSemanticsDebugger: false,
title: 'Doctors App',
locale: projectProvider.appLocal,
@ -93,6 +95,7 @@ class MyApp extends StatelessWidget {
debugShowCheckedModeBanner: false,
),
),
),
);
});
},

@ -11,7 +11,7 @@ description: A new Flutter project.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.4.24+1
version: 1.4.26+1
environment:

Loading…
Cancel
Save