None
SQ
Android: Catching NDK crashes
['Ashish Bhatia']
ashishb.net
I didn’t care about it overwriting an existing native crash report, but if your app has a million+ installs, you should generate filename patterns for crash reports. We used Sentry to wrap a native crash and report it as a Java Exception; you can do this for your crash reporting mechanism as well. ( await RNFS.exists(ndkCrashLogsFilePath))) { Logger.debug( 'Sentry@uploadNdkCrashesIfAny' , `crash log file ${ ndkCrashLogsFilePath } not found, no native crashes recorded` ) return } const fileSize = parseInt (( await RNFS.stat(ndkCrashLogsFilePath)).size, 10 ) Logger.info( 'Sentry@uploadNdkCrashesIfAny' , `crash log file ${ ndkCrashLogsFilePath } found ( ${ fileSize } bytes), capturing it via Sentry` ) const msg1 = ( await RNFS.exists(ndkCrashLogcatLogsFilePath)) ?