Open ButuzGOL opened 6 years ago
Is this happening with JS error or Native exceptions ? @ButuzGOL
Its happening with JS error
i did simple case call of this.renderHeader()
<= this function doesn't exists
my code
setJSExceptionHandler(async (error) => {
if (error) {
logger.log(String(error));
logger.send();
Alert.alert(t('logs.someError'), t('logs.needRestart'), [
{
text: t('Restart'),
onPress: () => {
RNRestart.Restart();
},
},
]);
throw new Error(error);
}
return true;
}, true);
amazing lib ,,,, any update @ButuzGOL for this issue , is this issue can be solved by this
@ButuzGOL you should add log of react-native-firebase in JSExceptionHandler function yourself so as to see the log on firebase
I have found issue that when i am using 'react-native-exception-handler' crash report doesn't sends to server i am using https://github.com/invertase/react-native-firebase