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

Get ride of default alert when app crash [Android]

Open IsmaelMiber opened this issue 2 years ago • 0 comments

Hello All,

I use setNativeExceptionHandler to handle the native error using the advanced way of 3 parameters: setNativeExceptionHandler(exceptionHandler, false, true);

when the app crashes the default native module appears, but the app crashes after shown and the OS alert of crashing apps appears.

All I want, is to prevent the app from forcing quiet and disable the OS alert of crashing apps.

Can anyone advice here what should I do and is what I want handled already by the app or not?

Also I use the rn-test-exception-handler package in testing.

IsmaelMiber avatar Aug 02 '22 12:08 IsmaelMiber