Hi @Erwan !
This looks like an issue that might be specific to your app’s unique setup. You’ll want to chat with our Support team for an issue like this. I’m going to send this conversation their way and they will reach out to you in a day or two via the email address that you signed up with.
Did you reach any satisfying conclusion with this @Erwan? Having the same issue, @intercom/intercom-react-native library being upgraded from 4.x to 6.x and getting the following error
ERROR Invariant Violation: No callback found with cbID 3911 and callID 1955 for IntercomModule.sendTokenToIntercom - most likely the callback was already invoked. Args: ':{"code":"302","message":"Error in sendTokenToIntercom","domain":"IntercomSDKErrorDomain","userInfo":{"NSLocalizedDescription":"ERROR - Failed to register a device token - push notifications are not enabled on the host device"},"nativeStackIOS":S"0  Beryl Test             0x0000000100a90b40 RCTJSErrorFromCodeMessageAndNSError + 112","1  Beryl Test             0x0000000100a23c96 __41- RCTModuleMethod processMethodSignat...(truncated)...","2  Beryl Test             0x00000001016c6c35 __56-ÂIntercomModule sendTokenToIntercom:...(truncated)...","3  Intercom              0x00000001119f966f IntercomSDK_PINRemoteImageManagerSubclass...(truncated)...","4  libdispatch.dylib          0x00000001215f7a90 _dispatch_call_block_and_release + 12","5  libdispatch.dylib          0x00000001215f8d3a _dispatch_client_callout + 8","6  libdispatch.dylib          0x0000000121607ac0 _dispatch_main_queue_drain + 1420","7  libdispatch.dylib          0x0000000121607526 _dispatch_main_queue_callback_4CF + 31","8  CoreFoundation           0x000000011f24b850 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9","9  CoreFoundation           0x000000011f24618b __CFRunLoopRun + 2463","10 CoreFoundation           0x000000011f245409 CFRunLoopRunSpecific + 557","11 GraphicsServices          0x0000000126f4f187 GSEventRunModal + 137","12 UIKitCore              0x000000014c6ac3a2 -aUIApplication _run] + 972","13 UIKitCore              0x000000014c6b0e10 UIApplicationMain + 123","14 Beryl Test             0x0000000100223c60 main + 96","15 dyld                0x000000010e2633ee start_sim + 10","16 ???                 0x0000000205fe2366 0x0 + 8690475878"]}]', js engine: herme
Are you able to assist @Jacob Cox?
Hi @Huw MartinÂ
It looks like this type of issue is normally due to your app running the sendTokenToIntercom call before the user is logged into your app. Can you make sure you’re making those calls in the correct order?
Â
If you are and you’re still having the issue then I would encourage you to write into our Support team via the Messenger in your workspace or at team@intercom.io and they can dig into this further with you!