Closed albertJkt closed 5 years ago
let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/.test(serial); }; This works only till A11 SoC.
let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/.test(serial); };
let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/ || /^[A-Z0-9]{8}-[A-Z0-9]{16}$/i.test(serial); }; - this should fix the issue.
let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/ || /^[A-Z0-9]{8}-[A-Z0-9]{16}$/i.test(serial); };
https://github.com/thebeet/idevicekit/commit/2ef115af16b33cff4468d3da03df4d19a236f507
ISSUE fixed, Thank You :)
let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/.test(serial); };
This works only till A11 SoC.let _checkSerial = (serial) => { return /^[a-z0-9]{40,40}$/ || /^[A-Z0-9]{8}-[A-Z0-9]{16}$/i.test(serial); };
- this should fix the issue.