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_NUMBERS = "[0-9]";
const ONLY_LETTERS = "[a-zA-Z &'\"]"; const ONLY_LETTERS = "[a-zA-Z &'\"]";
const ONLY_DATE = "[0-9/]"; const ONLY_DATE = "[0-9/]";
// const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/'; const BASE_URL_LIVE_CARE = 'https://livecare.hmg.com/';
const BASE_URL_LIVE_CARE = 'https://uat.hmgwebservices.com/'; // const BASE_URL_LIVE_CARE = 'https://uat.hmgwebservices.com/';
const DOCTOR_ROTATION = 'https://doctorrota.hmg.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 = '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/'; // const BASE_URL = 'https://hmgwebservices.com/';
@ -413,7 +413,7 @@ const TRANSACTION_NO = 0;
const LANGUAGE_ID = 2; const LANGUAGE_ID = 2;
const STAMP = '2020-04-27T12:17:17.721Z'; const STAMP = '2020-04-27T12:17:17.721Z';
const IP_ADDRESS = '9.9.9.9'; const IP_ADDRESS = '9.9.9.9';
const VERSION_ID = 9.8; const VERSION_ID = 9.9;
const CHANNEL = 9; const CHANNEL = 9;
const SESSION_ID = 'BlUSkYymTt'; const SESSION_ID = 'BlUSkYymTt';
const IS_LOGIN_FOR_DOCTOR_APP = true; const IS_LOGIN_FOR_DOCTOR_APP = true;

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

@ -30,12 +30,11 @@ void main() async {
//clearing all the shared pref on the inital start to avoid any profile issue //clearing all the shared pref on the inital start to avoid any profile issue
Future<void> clearPrefsOnFirstLaunch() async { Future<void> clearPrefsOnFirstLaunch() async {
SharedPreferences prefs = await SharedPreferences. getInstance(); SharedPreferences prefs = await SharedPreferences.getInstance();
bool isFirstLaunch = prefs.getBool('isFirstLaunch') ?? true; bool isFirstLaunch = prefs.getBool('isFirstLaunch') ?? true;
await prefs.clear(); // Clear all prefs await prefs.clear(); // Clear all prefs
} }
class MyApp extends StatelessWidget { class MyApp extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
@ -60,37 +59,41 @@ class MyApp extends StatelessWidget {
) )
], ],
child: Consumer<ProjectViewModel>( child: Consumer<ProjectViewModel>(
builder: (context, projectProvider, child) => MaterialApp( builder: (context, projectProvider, child) => SafeArea(
showSemanticsDebugger: false, top: false,
title: 'Doctors App', bottom: Platform.isAndroid ? true : false,
locale: projectProvider.appLocal, child: MaterialApp(
localizationsDelegates: [ showSemanticsDebugger: false,
TranslationBaseDelegate(), title: 'Doctors App',
GlobalMaterialLocalizations.delegate, locale: projectProvider.appLocal,
GlobalWidgetsLocalizations.delegate, localizationsDelegates: [
GlobalCupertinoLocalizations.delegate, TranslationBaseDelegate(),
DefaultCupertinoLocalizations.delegate GlobalMaterialLocalizations.delegate,
], GlobalWidgetsLocalizations.delegate,
supportedLocales: [ GlobalCupertinoLocalizations.delegate,
const Locale('ar', ''), // Arabic DefaultCupertinoLocalizations.delegate
const Locale('en', ''), // English ],
], supportedLocales: [
theme: ThemeData( const Locale('ar', ''), // Arabic
primarySwatch: Colors.grey, const Locale('en', ''), // English
primaryColor: Colors.grey, ],
//buttonColor: HexColor('#D02127'), theme: ThemeData(
fontFamily: 'Poppins', primarySwatch: Colors.grey,
dividerColor: Colors.grey[350], primaryColor: Colors.grey,
//buttonColor: HexColor('#D02127'),
fontFamily: 'Poppins',
dividerColor: Colors.grey[350],
// backgroundColor: Color.fromRGBO(255, 255, 255, 1), // backgroundColor: Color.fromRGBO(255, 255, 255, 1),
useMaterial3: false), useMaterial3: false),
navigatorKey: locator<NavigationService>().navigatorKey, navigatorKey: locator<NavigationService>().navigatorKey,
navigatorObservers: [ navigatorObservers: [
locator<AnalyticsService>().getAnalyticsObserver(), locator<AnalyticsService>().getAnalyticsObserver(),
], ],
initialRoute: INIT_ROUTE, initialRoute: INIT_ROUTE,
routes: routes, routes: routes,
debugShowCheckedModeBanner: false, 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. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.4.24+1 version: 1.4.26+1
environment: environment:

Loading…
Cancel
Save