25-3/11/1

This commit is contained in:
Hamza-Ayed
2025-03-11 15:58:17 +03:00
parent 3162b1bec6
commit df2bbd4604
442 changed files with 48712 additions and 182 deletions

View File

@@ -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(