$ npm install @heytea/react-native-crash-report --save
$ react-native link @heytea/react-native-crash-report
import ReactNativeCrashReport from '@heytea/react-native-crash-report';
// 初始化
// auth 为请求头中 Authorization 的值
ReactNativeCrashReport.init(qiniuUrl: string, auth: string);
// 上报日志
ReactNativeCrashReport.reportLog(log: string);
// 测试闪退
ReactNativeCrashReport.testCrash();