Git Product home page Git Product logo

crashlyticsuserfeedbackbug's Introduction

The intent of this repo is to demonstrate a bug in the Firebase SDK for iOS. This bug was not present in the 6.13.0 version of the SDK. It appeared no later than version 6.28.0, and continues through at least 6.33.0.

The gist of the issue is that we try to collect user feedback/permissions when a crash is detected. However, this feedback is added to the next crash that happens, instead of the one that is about to be reported.

This sample app keeps a running tally of its launch count. The best way to crash is by clicking the "bad index" button, wherein the app will try to index into an empty array with the current launch count. On launch, we save this same number to a preference so it can be read by the next app session. During the next app session, that number is pulled from the preferences and attached to the outgoing crash report via the setCustomValue API. This is intended to represent the user's feedback regarding the prior session (hence the "old" launch count value). So in a well-functioning world, the crash report should have a "bad index" crash, and a "feedback" custom value, and both of these launch count values should be the same. The current behavior we are seeing is the feedback value and the bad index value are off by one.

crashlyticsuserfeedbackbug's People

Contributors

fosterbrereton avatar

Watchers

 avatar  avatar  avatar

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.