25-3/11/1
This commit is contained in:
@@ -87,7 +87,7 @@ class LoginController extends GetxController {
|
||||
|
||||
getJwtWallet() async {
|
||||
await SecurityHelper.performSecurityChecks();
|
||||
String fingerPrint = await getDeviceFingerprint();
|
||||
String fingerPrint = DeviceHelper.getDeviceFingerprint().toString();
|
||||
dev = Platform.isAndroid ? 'android' : 'ios';
|
||||
var payload = {
|
||||
'id': box.read(BoxName.passengerID),
|
||||
@@ -108,7 +108,7 @@ class LoginController extends GetxController {
|
||||
|
||||
getJWT() async {
|
||||
print(Pasenger.pasengerpas);
|
||||
await SecurityHelper.performSecurityChecks();
|
||||
// await SecurityHelper.performSecurityChecks();
|
||||
Log.print('firstTimeLoadKey: ${box.read(BoxName.firstTimeLoadKey)}');
|
||||
dev = Platform.isAndroid ? 'android' : 'ios';
|
||||
if (box.read(BoxName.firstTimeLoadKey).toString() != 'false') {
|
||||
@@ -227,7 +227,7 @@ class LoginController extends GetxController {
|
||||
var token = await CRUD().get(link: AppLink.getTokens, payload: {
|
||||
'passengerID': box.read(BoxName.passengerID).toString()
|
||||
});
|
||||
var fingerPrint = await getDeviceFingerprint();
|
||||
var fingerPrint = DeviceHelper.getDeviceFingerprint().toString();
|
||||
await storage.write(key: BoxName.fingerPrint, value: fingerPrint);
|
||||
if (token != 'failure') {
|
||||
if (EncryptionHelper.instance.decryptData(
|
||||
|
||||
Reference in New Issue
Block a user