2026-02-28-1
This commit is contained in:
@@ -87,16 +87,13 @@ class LoginController extends GetxController {
|
||||
update();
|
||||
}
|
||||
|
||||
Future<String> getJwtWallet() async {
|
||||
getJwtWallet() async {
|
||||
try {
|
||||
final random = Random();
|
||||
|
||||
// Perform security check randomly
|
||||
if (random.nextBool()) {
|
||||
await SecurityHelper.performSecurityChecks();
|
||||
} else {
|
||||
await SecurityChecks.isDeviceRootedFromNative(Get.context!);
|
||||
if (box.read(BoxName.security_check).toString() != 'passed') {
|
||||
Log.print('Security check failed');
|
||||
return;
|
||||
}
|
||||
Log.print('Security check passed');
|
||||
|
||||
String fingerPrint = await DeviceHelper.getDeviceFingerprint();
|
||||
final dev = GetPlatform.isAndroid ? 'android' : 'ios';
|
||||
|
||||
Reference in New Issue
Block a user