Skip to content

Crash Hunt

You'll wire up crash reporting, chase down a failure that only happens on a phone you've never touched, fix it, and show the crash-free rate climbing.

About

Your phone is one phone. Out there are thousands of Android models, three OS versions in common use, someone with 300 MB of storage left, and someone running your app in Arabic. Crash reporting is how you hear from them. The free options come with the stores, Xcode's Organizer and the Play Console's Android vitals, and Firebase Crashlytics or Sentry's free tier add detail. A crash report arrives as a stack trace that's garbage until it's matched to the debug symbols of the exact build, which is the step everyone skips once and never again. You need real users for this one, so it sits after Three Testers or In the Store.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
A month
Skill level
Advanced (years of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Uncommon badges in Mobile Apps to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Add a crash reporter and upload the debug symbols with every release. That's dSYMs on iOS and mapping files on Android, done in the release script rather than by hand. Declare the reporter in your privacy form, because crash reports count as data collection. Take a photo of a deliberate test crash in the dashboard, readable, with file and line numbers. Photo
  2. 2
    Report the errors that don't crash. A failed decode, a timed-out request, a file that wouldn't write. Log them as non-fatal with enough context to find them again: the screen and the action. Take a photo of a non-fatal in the dashboard with its context attached. Photo
  3. 3
    Pick a crash from a device you've never used and reproduce it. Use what the report gives you: the model, the OS version, the language and the free memory. The emulator can fake most of it, so set the language to Arabic, pick the old OS, and squeeze the memory. Film the crash reproducing on the emulator or a borrowed phone. Video
  4. 4
    Fix it and write a test that would have caught it. A unit test for the function that fell over, or a UI test on the screen. Take a photo of the test failing on the old code and passing on the fix. Photo
  5. 5
    Ship the fix and show the crash-free rate before and after. Give it two weeks of real use. Google draws its bad-behavior line at about 1.1 percent of daily users seeing a crash, and 99 percent crash-free users is the number to aim for. Take a photo of the chart across the month with the release marked. Photo
  6. 6
    Write a one-page account of the crash. What happened, why your own phone never showed it, and how you'll hear about the next one sooner. Take a photo of the page. Photo