Giter Club home page Giter Club logo

Comments (6)

tnoetzel avatar tnoetzel commented on June 1, 2024

@sabahang - I think that's deliberate. The point of this method is to "force" a crash so it shows up in Crashlytics. If you read the Crashlytics documentation for the native implementations the first step after adding the Crashlytics library to your code is to force a crash; my guess is the crash() method is this plugin's way of doing that without forcing developers to mess with any native code.

TLDR: run FirebaseCrashlytics.crash() once, then remove it from your app and use the other methods:

const { FirebaseCrashlytics } = Plugins;

...

FirebaseCrashlytics.setEnabled({
    enabled: true,
});
FirebaseCrashlytics.crash({
    message: "This is a crash message: pretty sure you only need to do this once.",
});

from firebase-crashlytics.

SalahAdDin avatar SalahAdDin commented on June 1, 2024

@tnoetzel Well, i forced it, i saw it in the console log, but i don't receive the log in the Firebase Console.

from firebase-crashlytics.

tnoetzel avatar tnoetzel commented on June 1, 2024

@SalahAdDin - Did you upload your dSYMs as described here? #2 (comment)

from firebase-crashlytics.

SalahAdDin avatar SalahAdDin commented on June 1, 2024

@tnoetzel I didn't test it on iOS, but it works in Android, i tested it.

from firebase-crashlytics.

tnoetzel avatar tnoetzel commented on June 1, 2024

@SalahAdDin - If you're still not seeing crashes in the Firebase Console (sometimes it takes 5 minutes to show up), suggest following the instructions in the ReadMe to enable debugging and see what errors, if any, show up.

from firebase-crashlytics.

robingenz avatar robingenz commented on June 1, 2024

I tested it with version 0.3.0 of this plugin on Android. Everything worked. The crash was logged in Firebase. If problems persist, please open a new issue with detailed information to reproduce it.

from firebase-crashlytics.

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.