intercom_flutter icon indicating copy to clipboard operation
intercom_flutter copied to clipboard

NSInvalidArgumentException on iOS

Open Samo8 opened this issue 4 years ago • 2 comments

Hi guys when I open some conversation on iOS device I get the following exception and the app crashes. Does someone know what should be the issue? The version of intercom is: 3.2.1. Thanks.

`*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFNumber rangeOfCharacterFromSet:]: unrecognized selector sent to instance 0x8fe77cb75891f613' *** First throw call stack: (0x187b1a708 0x19c6247a8 0x187a1dbfc 0x187b1d260 0x187b1f560 0x18a839a04 0x18a8396c4 0x18a839640 0x102a67b70 0x102b3e798 0x102a67a68 0x102b3e730 0x102b03e08 0x102b027b4 0x102a63ef8 0x1029f2ac8 0x189c10178 0x189c2da64 0x189c2a99c 0x189c31214 0x18aa3faf8 0x189c301d4 0x189c29538 0x189c326c8 0x1029ee9bc 0x1029f03f0 0x102b0ae98 0x102b0a978 0x187705a84 0x18770781c 0x187715c70 0x187a94340 0x187a8e218 0x187a8d308 0x19f110734 0x18a50b75c 0x18a510fcc 0x102940554 0x187749cf8) libc++abi: terminating with uncaught exception of type NSException

  • thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT frame #0: 0x00000001b5d05334 libsystem_kernel.dylib__pthread_kill + 8 libsystem_kernel.dylib__pthread_kill: -> 0x1b5d05334 <+8>: b.lo 0x1b5d05354 ; <+40> 0x1b5d05338 <+12>: pacibsp 0x1b5d0533c <+16>: stp x29, x30, [sp, #-0x10]! 0x1b5d05340 <+20>: mov x29, sp Target 0: (Runner) stopped. `

Samo8 avatar Jul 27 '21 17:07 Samo8

@Samo8 the latest version of intercom_flutter is 5.0.0. In this version, Intercom iOS SDK is updated with version 10.0.2. Could you please try version 5.0.0?

deepak786 avatar Jul 27 '21 18:07 deepak786

@Samo8 the latest version of intercom_flutter is 5.0.0. In this version, Intercom iOS SDK is updated with version 10.0.2. Could you please try version 5.0.0?

Sadly I can't use newer version, because project is running on older Flutter version, supporting max version 3.2.1 of intercom_flutter.

Samo8 avatar Jul 28 '21 17:07 Samo8