flutter-nfc-manager icon indicating copy to clipboard operation
flutter-nfc-manager copied to clipboard

Crash on old iPhone

Open ryanhz opened this issue 8 months ago • 3 comments

Running the example project on iPhone 6, ios 12.5.7, crash with no stack information, just assembly:

dyld`:
    0x100fba410 <+0>:  mov    x16, #0x209
    0x100fba414 <+4>:  svc    #0x80
->  0x100fba418 <+8>:  b.lo   0x100fba430               ; <+32>
    0x100fba41c <+12>: stp    x29, x30, [sp, #-0x10]!
    0x100fba420 <+16>: mov    x29, sp
    0x100fba424 <+20>: bl     0x100fb9850               ; cerror_nocancel
    0x100fba428 <+24>: mov    sp, x29
    0x100fba42c <+28>: ldp    x29, x30, [sp], #0x10
    0x100fba430 <+32>: ret    

ryanhz avatar Oct 26 '23 04:10 ryanhz

@ryanhz I know this issue is from last year but the problem you're facing is that this functionality requires IOS 13 or newer to use the relevant APIs.

alastairlundy avatar Feb 20 '24 00:02 alastairlundy

@ryanhz I know this issue is from last year but the problem you're facing is that this functionality requires IOS 13 or newer to use the relevant APIs.

Yes, I was aware of the requirement. The issue is more in how to gracefully bypass old iPhone with this plugin?

ryanhz avatar Feb 20 '24 03:02 ryanhz

This is an instant crash, The only thing you can see is a flash of the app being opend and closed in the same instant. I think there is a workaround? as mentioned here: https://github.com/semlette/nfc_in_flutter/issues/20#issuecomment-570816518

ryanhz avatar Feb 20 '24 03:02 ryanhz