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

Can not catch iOS native type error

Open Symous opened this issue 5 years ago • 0 comments

Hi, awesome lib. To test the native exception handler I created a native RCT_EXPORT_METHOD method and which is require one int parameter. After that I invoke the exported method and using a string param instead of an int one, the error can not be catch as expected in iOS but Android works.

NativeModules.someModule.invokeMethod('abc'); //expected int parameter;

any idea about that? thanks!

Symous avatar Mar 21 '19 01:03 Symous