question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Report fields in 5.8.2

See original GitHub issue

I’m feeling a bit dense because this looks like it ought to be easy, but I can’t work it out. I’ve just updated to 5.8.2 and see that things are quite different from 5.7.0.

I have made the adjustments I can understand, and I am getting crash notification, but there’s no data.

My code is

class MyApp : BaseApplication() {
    override fun attachBaseContext(base: Context) {
        super.attachBaseContext(base)

        initAcra {
            buildConfigClass = BuildConfig::class.java
            reportFormat = StringFormat.JSON
            httpSender {
                uri = "myUrl"
                httpMethod = HttpSender.Method.POST
            }
        }
    }
}

Previously I had specified the fields I want with

@ReportsCrashes(customReportContent = {
    ReportField.APP_VERSION_CODE, ReportField.APP_VERSION_NAME <etc> }

but this no longer works and I can’t work out how to specify the fields I want. I can add the “customReportFields” property in the iniAcra block bu can’t for the life of me work out how to specify the fields. And I’m not even sure if this is what’s causing my problem. Fault or operator error?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
MarkRS-UKcommented, Jun 11, 2021

Really? Ooh, must be something else… Hmm, perhaps I’m not getting enough sleep 😢 Hmm, ok, no, my mistake, sorry.

0reactions
F43nd1rcommented, Jun 11, 2021

ACRA is sending XML?? We don’t even support XML. Is your source code available somewhere?

Read more comments on GitHub >

github_iconTop Results From Across the Web

5. Reports - Oracle Help Center
5.2.2 Contents of the Report ; Field Name. Indicates Field Name ; Status. Indicates Status ; Old Value. Indicates Amount ; New Value....
Read more >
5.8.4 Investigation | Internal Revenue Service
Field OS Reporting Procedures: Update the AOIC Case Category Code to 16, Return Preparer Fraud or Misconduct. Document ICS/AOIC case history .
Read more >
Guidelines | ESMA
5.8.2 Buyer/Seller is a natural person . ... 5.18 Block 11: Status of transaction reports and corrections .
Read more >
Chapter 5: Training Data Feed - OPM
This will satisfy the normal reporting requirements for each training reporting period, and each record should include all fields in the ...
Read more >
ORR Unaccompanied Children Program Policy Guide: Section 5
The combined expertise of the ORR team allows for field staff to report ... See Section 5.8.2 Significant Incidents for reporting and notification ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found