react-native-exception-handler icon indicating copy to clipboard operation
react-native-exception-handler copied to clipboard

duplicate symbol SignalHandler

Open Knight704 opened this issue 5 years ago • 3 comments
trafficstars

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

Knight704 avatar Jun 29 '20 11:06 Knight704

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

joel-bitar avatar Feb 17 '21 14:02 joel-bitar

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.

Jaycexx avatar May 17 '22 09:05 Jaycexx

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

Knight704 avatar May 17 '22 09:05 Knight704