Post

Mapping Out Which Bin Decision Tree

Mapping Out Which Bin Decision Tree

The logical flow for the Which Bin app ended up being much more complicated than I imagined when setting out to build the app.

This flowchart captures all the decision branches users can take, from first launch through ongoing app usage, including edge cases like permission denial, GPS timeout, location validation, and error recovery scenarios.

Key Decision Points & User Paths:

πŸš€ App Launch Flow

  • ​Entry Point​: App determines if user has confirmed address
  • ​Two Main Branches​: Existing users go to main app, new users see welcome screen

πŸ“± Onboarding Flow

  1. Welcome Screen β†’ User taps β€œGet Started”
  2. ​Location Permission Handling​:
    • Not determined β†’ Show permission request
    • Already denied/restricted β†’ Show denied screen with manual entry option
    • Already granted β†’ Skip to GPS resolution
  3. ​GPS Resolution with 15-Second Timeout​:
    • Success within 15s β†’ Location validation
    • Timeout β†’ Allow manual entry
    • Error β†’ Permission denied path
  4. ​Location Validation (Graduated)​:
    • Within Guildford Borough β†’ Address confirmation screen
    • Outside Guildford but in UK β†’ Outside service area screen
    • Outside UK β†’ International outside service area screen
  5. ​Address Confirmation​:
    • Show loading spinner while data loads
    • Display map + postcode when ready
    • WebView address selection
    • Store address with UPRN
  6. Completion Screen β†’ β€œStart Using WhichBin” β†’ Main app

βš™οΈ Settings & Manual Postcode Entry

  • Manual postcode entry from outside service area
  • Settings access from main app
  • Postcode validation and updates
  • Full data reset option (returns to welcome screen)

🏠 Main App Navigation

  • Bin Schedule Display (primary interface)
  • ​User Actions​:
    • Settings access
    • Location tap β†’ Settings with postcode focus
    • Pull to refresh collection data
    • View collection details
  • Error Handling with retry options

πŸ”„ Key Features Highlighted:

  1. 15-second GPS timeout with automatic fallback
  2. Graduated location validation (Guildford β†’ UK β†’ International)
  3. Loading spinners during address data resolution
  4. Manual entry options at multiple decision points
  5. Data reset functionality that returns users to onboarding
  6. Error recovery paths throughout the app
This post is licensed under CC BY 4.0 by the author.

Trending Tags