DTTJailbreakDetection icon indicating copy to clipboard operation
DTTJailbreakDetection copied to clipboard

Jailbreak Detected on M1 Macs

Open miguelsolans opened this issue 4 years ago • 6 comments

With the new M1 architecture, users are able to run both iOS Apps on the Mac. However, DTTJailbreakDetection is blocking due to jailbreak detection

miguelsolans avatar Jan 05 '21 10:01 miguelsolans

Do you mind submitting a fix?

thii avatar Jan 05 '21 10:01 thii

Do you mind submitting a fix?

I could try. Maybe next week.

miguelsolans avatar Jan 05 '21 23:01 miguelsolans

Add this

    if (@available(iOS 14.0, *)) {
        if ([NSProcessInfo processInfo].isiOSAppOnMac)
        {
            return NO;
        }
    }

right after

#if !(TARGET_IPHONE_SIMULATOR)

in DTTJailbreakDetection.m

That will at least bypass the jailbreak check on M1 devices by always returning NO

skuske avatar Jan 13 '21 12:01 skuske

any updates on this?

oscarshaitan avatar Jun 22 '21 19:06 oscarshaitan

any update? coming from flutter as well 😬

brendansiow avatar Feb 16 '22 16:02 brendansiow

have same issue, hope fix soon 😌

hcminh avatar Mar 26 '22 15:03 hcminh