GithubHelp home page GithubHelp logo

Comments (7)

l1onPro avatar l1onPro commented on June 16, 2024 1

Thank you!
I looked at this moment and it turns out that initialization was not called during the new process.

from beagle.

pandulapeter avatar pandulapeter commented on June 16, 2024

Hi,

Sorry for the late answer. The crash log you posted is very useful but I can't wrap my head around how this could happen... Please confirm that you're using the latest version of the library (2.8.3) and you have properly set up the crash reporting according to the Displaying crash logs section of the readme. Do you maybe have some additional information? I can't seem to reproduce this issue.

Thanks!
Peter

from beagle.

l1onPro avatar l1onPro commented on June 16, 2024

Hi, i use library 2.8.3. I also get this problem when i try to open the BugReportButtonModule with library:

debugImplementation "io.github.pandulapeter.beagle:log-crash:$beagleVersion"
releaseImplementation "io.github.pandulapeter.beagle:log-crash-noop:$beagleVersion"

But when i try to open BugReportButtonModule without this library all good.

from beagle.

l1onPro avatar l1onPro commented on June 16, 2024

Also the keyboard hides the input text on the report screen

from beagle.

pandulapeter avatar pandulapeter commented on June 16, 2024

Also the keyboard hides the input text on the report screen

I'll take care of that in the next release ASAP, thanks for pointing that out! (edit: the keyboard handling fix is part of release v2.9.0)

As for the crash: is it possible that you're not calling Beagle.initialize() in your Application class? A crash like the one you're seeing can happen if you initialize Beagle in your Activity's onCreate(), instead of the Application's.

from beagle.

l1onPro avatar l1onPro commented on June 16, 2024

I call a method from another module in Application class (onCreate()) and pass app there

from beagle.

pandulapeter avatar pandulapeter commented on June 16, 2024

When your app crashes, the entire process dies. Beagle's crash reporter spins up a brand new process (that creates a new instance of your custom Application class). That Application class must call Beagle.initialize() before the BugReport activity is opened (onCreate() is a good place to do that). I did some digging into this but the only way I can reproduce your crash is to not call Beagle.initialize(). I suggest you double-check that part.

from beagle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.