|
15 | 15 | import com.squareup.leakcanary.LeakCanary; |
16 | 16 |
|
17 | 17 | import org.acra.ACRA; |
| 18 | +import org.acra.ReportField; |
18 | 19 | import org.acra.annotation.ReportsCrashes; |
19 | 20 | import org.acra.sender.HttpSender; |
20 | 21 |
|
|
28 | 29 | */ |
29 | 30 | @ReportsCrashes( |
30 | 31 | formUri = "https://api.cryptup.io/help/acra", |
| 32 | + customReportContent = { |
| 33 | + ReportField.ANDROID_VERSION, |
| 34 | + ReportField.APP_VERSION_CODE, |
| 35 | + ReportField.APP_VERSION_NAME, |
| 36 | + ReportField.AVAILABLE_MEM_SIZE, |
| 37 | + ReportField.BRAND, |
| 38 | + ReportField.BUILD, |
| 39 | + ReportField.BUILD_CONFIG, |
| 40 | + ReportField.CRASH_CONFIGURATION, |
| 41 | + ReportField.CUSTOM_DATA, |
| 42 | + ReportField.DEVICE_FEATURES, |
| 43 | + ReportField.DISPLAY, |
| 44 | + ReportField.DUMPSYS_MEMINFO, |
| 45 | + ReportField.ENVIRONMENT, |
| 46 | + ReportField.FILE_PATH, |
| 47 | + ReportField.INITIAL_CONFIGURATION, |
| 48 | + ReportField.INSTALLATION_ID, |
| 49 | + ReportField.IS_SILENT, |
| 50 | + ReportField.LOGCAT, |
| 51 | + ReportField.PACKAGE_NAME, |
| 52 | + ReportField.PHONE_MODEL, |
| 53 | + ReportField.PRODUCT, |
| 54 | + ReportField.REPORT_ID, |
| 55 | + ReportField.STACK_TRACE, |
| 56 | + ReportField.TOTAL_MEM_SIZE, |
| 57 | + ReportField.USER_APP_START_DATE, |
| 58 | + ReportField.USER_CRASH_DATE, |
| 59 | + ReportField.USER_EMAIL |
| 60 | + }, |
31 | 61 | httpMethod = HttpSender.Method.POST, |
32 | 62 | reportType = HttpSender.Type.JSON) |
33 | 63 | public class FlowCryptApplication extends Application { |
|
0 commit comments