Skip to content

Android: getAuthHeader crashes with 'No auth token found' (v1.0.526) #6142

@beastoin

Description

@beastoin

Observed behavior

Fatal crash in shared.dart getAuthHeader() — throws when no auth token is available. The app crashes instead of handling the missing-token case gracefully.

  • Version affected: v1.0.526
  • Impact: ~3,400 crashes across ~83 users
  • Period: Mar 22–27, 2026

Investigation notes

The crash originates in the HTTP shared layer before any network request is made. The auth token is expected but missing at the time of the call. This may involve a stale captured variable or async refresh race (per prior analysis of similar patterns), but the exact trigger path from Crashlytics alone is not confirmed.

Severity

P2 — significant crash count but does not appear to cause crash-looping. Users can likely recover by restarting.

cc @mdmohsin7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingflutterflutter workp2Priority: Important (score 14-21)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions