|  |  | @ -363,7 +363,7 @@ class AuthenticationViewModel extends ChangeNotifier { | 
			
		
	
		
		
			
				
					
					|  |  |  |     ); |  |  |  |     ); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     // TODO: GET APP SMS SIGNATURE HERE |  |  |  |     // TODO: GET APP SMS SIGNATURE HERE | 
			
		
	
		
		
			
				
					
					|  |  |  |     request.sMSSignature =await getSignature(); |  |  |  |     request.sMSSignature = await getSignature(); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (checkIsUserComingForRegister(request: payload)) { |  |  |  |     if (checkIsUserComingForRegister(request: payload)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       _appState.setUserRegistrationPayload = RegistrationDataModelPayload.fromJson(payload); |  |  |  |       _appState.setUserRegistrationPayload = RegistrationDataModelPayload.fromJson(payload); | 
			
		
	
	
		
		
			
				
					|  |  | @ -617,8 +617,8 @@ class AuthenticationViewModel extends ChangeNotifier { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           // authenticated = true; |  |  |  |           // authenticated = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |           await insertPatientIMEIData(loginTypeEnum.toInt); |  |  |  |           await insertPatientIMEIData(loginTypeEnum.toInt); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |           LoaderBottomSheet.hideLoader(); |  |  |  |           LoaderBottomSheet.hideLoader(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         notifyListeners(); |  |  |  |         notifyListeners(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         // navigateToHomeScreen(); |  |  |  |         // navigateToHomeScreen(); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } else { |  |  |  |       } else { | 
			
		
	
	
		
		
			
				
					|  |  | @ -873,6 +873,7 @@ class AuthenticationViewModel extends ChangeNotifier { | 
			
		
	
		
		
			
				
					
					|  |  |  |         getDeviceLastLogin = deviceInfo.first['LoginType']; |  |  |  |         getDeviceLastLogin = deviceInfo.first['LoginType']; | 
			
		
	
		
		
			
				
					
					|  |  |  |         await checkActivationCode(otpTypeEnum: OTPTypeEnum.faceIDFingerprint, activationCode: null, onWrongActivationCode: (String? message) {}); |  |  |  |         await checkActivationCode(otpTypeEnum: OTPTypeEnum.faceIDFingerprint, activationCode: null, onWrongActivationCode: (String? message) {}); | 
			
		
	
		
		
			
				
					
					|  |  |  |         await insertPatientIMEIData(loginTypeEnum.toInt); |  |  |  |         await insertPatientIMEIData(loginTypeEnum.toInt); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         LoaderBottomSheet.hideLoader(); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (apiResponse.messageStatus == 2) { |  |  |  |       if (apiResponse.messageStatus == 2) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         LoaderBottomSheet.hideLoader(); |  |  |  |         LoaderBottomSheet.hideLoader(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -937,6 +938,7 @@ class AuthenticationViewModel extends ChangeNotifier { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     ); |  |  |  |     ); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   Future<String?> getSignature() async { |  |  |  |   Future<String?> getSignature() async { | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (Platform.isAndroid) { |  |  |  |     if (Platform.isAndroid) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       return await SmsVerification.getAppSignature(); |  |  |  |       return await SmsVerification.getAppSignature(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -944,5 +946,4 @@ class AuthenticationViewModel extends ChangeNotifier { | 
			
		
	
		
		
			
				
					
					|  |  |  |       return null; |  |  |  |       return null; | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |