react-native-exception-handler
react-native-exception-handler copied to clipboard
not working on native errors
trafficstars

import { setNativeExceptionHandler } from "react-native-exception-handler";
const exceptionhandler = (exceptionString) => {
Alert.alert("Congrats","you are in the call")
};
setNativeExceptionHandler(
exceptionhandler,
false,
true
);
i implemented the code in my index.js , but still i am not able to ignore the error for not crashing the app.
@AmirDoreh I know this is an old thread but did you try changing the last parameter (defaultHandler) to false?
I'm not sure how it behaves when there is no previous handler, or if other crash tools may interfere with your handling by causing it to be dropped.