Giter Club home page Giter Club logo

Comments (3)

losbeekos avatar losbeekos commented on June 3, 2024 5

It would be nice if we could disable Fabric on dev builds though, we just don't want to clutter our crash reporting stats.

from fabricplugin.

Justin-Credible avatar Justin-Credible commented on June 3, 2024 4

No, there is no way to temporarily disable the plugin. You can, however, use one of the two solutions below to differentiate your dev builds from your production builds.

Option 1: Set a key/value pair that indicates if it is a development build. These key/value pairs show up in the crash details for each crash entry.

window.fabric.Crashlytics.setBoolValueForKey(true, "isDevelopmentBuild");

Option 2: Use a different package ID for your development builds. For example, com.company.yourapp for production builds and com.company.yourapp.dev for development builds. Fabric will treat the package ID as a different app and completely seperate all crashes and answers events in the Fabric console.

from fabricplugin.

hung-doan avatar hung-doan commented on June 3, 2024 1

@Justin-Credible Thanks you for your suggestions.
I think I will stick with "Option 2" as an temporary solution.

About this feature. I found this document for android: https://docs.fabric.io/android/crashlytics/build-tools.html
I wonder if we can implement this feature!.
According to the document, There are 2 options to disabled Fabric:

  • At build time : We can implement a build hooks to update build configuration
  • At run time: Or disabled fabric at run-time.

from fabricplugin.

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.