login bypass removed

pull/68/head
tahaalam 4 weeks ago
parent 2e9a462a1c
commit 42abf9ca1b

@ -176,12 +176,12 @@ class ApiClientImp implements ApiClient {
body[_appState.isAuthenticated ? 'TokenID' : 'LogInTokenID'] = _appState.appAuthToken; body[_appState.isAuthenticated ? 'TokenID' : 'LogInTokenID'] = _appState.appAuthToken;
} }
body['TokenID'] = "@dm!n"; // body['TokenID'] = "@dm!n";
body['PatientID'] = 1018977; // body['PatientID'] = 1018977;
body['PatientTypeID'] = 1; // body['PatientTypeID'] = 1;
//
body['PatientOutSA'] = 0; // body['PatientOutSA'] = 0;
body['SessionID'] = "45786230487560q"; // body['SessionID'] = "45786230487560q";
} }
body.removeWhere((key, value) => value == null); body.removeWhere((key, value) => value == null);

@ -49,12 +49,11 @@ class _SplashScreenState extends State<SplashPage> {
Timer(Duration(seconds: 2, milliseconds: 500), () async { Timer(Duration(seconds: 2, milliseconds: 500), () async {
LocalNotification.init(onNotificationClick: (payload) {}); LocalNotification.init(onNotificationClick: (payload) {});
// if (await Utils.getBoolFromPrefs(CacheConst.firstLaunch)) { if (await Utils.getBoolFromPrefs(CacheConst.firstLaunch)) {
// Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: OnboardingScreen()))); Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: OnboardingScreen())));
// } else { } else {
// Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LandingNavigation()))); Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LandingNavigation())));
// } }
Navigator.of(context).pushReplacement(FadePage(page: SplashAnimationScreen(routeWidget: LabOrdersPage())));
}); });
var zoom = ZoomVideoSdk(); var zoom = ZoomVideoSdk();
InitConfig initConfig = InitConfig( InitConfig initConfig = InitConfig(

Loading…
Cancel
Save