DetoxInstruments icon indicating copy to clipboard operation
DetoxInstruments copied to clipboard

App crashe due to "[native] Unhandled JS Exception: Subscription cannot be called as a function"

Open vlanemcev opened this issue 3 years ago • 5 comments

I am trying to integrate DetoxInstruments with the application, but I get the error:

image

I did everything according to the instructions, the only moment that caused me a lot of confusion was how to change Other Linker Flags. Please, see how it looks for me:

image

And in Open state: image

Is it correct?

Also here is my Build Phases:

image

Environment details: React Native v0.63.4 XCode Version 12.1

vlanemcev avatar Mar 15 '21 09:03 vlanemcev

@LeoNatan Hi! Do you have any thoughts about this?

I checked and came to the conclusion that this problem is related to another package - Realm. Here's a similar ticket - https://github.com/realm/realm-js/issues/2233

vlanemcev avatar Mar 23 '21 18:03 vlanemcev

I am no longer involved with Wix or this project, sorry.

LeoNatan avatar Mar 23 '21 20:03 LeoNatan

Oh, understand (( Can you give me an advice what should i do with this?

vlanemcev avatar Mar 23 '21 20:03 vlanemcev

Could be some incompatibility between the Profiler framework and a recent RN version. Good luck.

LeoNatan avatar Mar 23 '21 22:03 LeoNatan

Hi team! Do you have any support?

vlanemcev avatar Apr 20 '21 15:04 vlanemcev