Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • whats-open-android whats-open-android
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • SRCT
  • whats-open-androidwhats-open-android
  • Issues
  • #33

Closed
Open
Created Oct 01, 2018 by Robert Hitt@rhittOwner

Fix offline functionality

Expected Behavior

When opened on a device without a network connection, the app should pull cached schedule data from the Realm DB, re-adjust Open/Closed status, and display info. Basically it should just work as it does normally, except with potentially out-of-date schedules.

Actual Behavior

It tells the user that they aren't connected, and shows the status spinner forever.

Steps to Reproduce the Behavior

  1. Put your phone on airplane mode.
  2. Open the app.

Tips

  • Investigate this function call https://git.gmu.edu/srct/whats-open-android/blob/master/app/src/main/java/srct/whatsopen/presenters/MainPresenter.java#L70
  • Add unit tests for updateOpenStatus()
Assignee
Assign to
Time tracking