a7ul/react-native-exception-handler

duplicate symbol SignalHandler

Knight704 opened this issue · 3 comments

I'm experiencing this when have both this lib and mParticle-apple-sdk.
So the reason is SignalHandler callback is enumerated in both implementations.

Could it be splitted somehow? I temporary fixed by renaming directly in node modules lib to not overlap with other lib and use patch-package

I'm having the same problem but with react-native-iron-source using the latest IronSource SDK (7.1.0.0). But in my case I get duplicate symbols for both duplicate symbol '_HandleException' and duplicate symbol '_SignalHandler'.
I also got around the issue using patch-package renaming SignalHandler to SignalHandlerRNEH and HandleException to HandleExceptionRNEH in ReactNativeExceptionHandler.m

I'm experiencing this when have both this lib and mParticle-apple-sdk. So the reason is SignalHandler callback is enumerated in both implementations.

Could it be splitted somehow? I temporary fixed by renaming directly in node modules lib to not overlap with other lib and use patch-package

The same issue yet. But it's not a good idea to rename it in node modules for every teammate should do this fixed manually.

I'm experiencing this when have both this lib and mParticle-apple-sdk. So the reason is SignalHandler callback is enumerated in both implementations.
Could it be splitted somehow? I temporary fixed by renaming directly in node modules lib to not overlap with other lib and use patch-package

The same issue yet. But it's not a good idea to rename it in node modules for every teammate should do this fixed manually.

patch-package is solving this issue