Use Cases - MobileApps-Cascadia/campus-directions-ios GitHub Wiki
Use Case #1
Precondition: Database contains destination, location paired information.
Description:
- A splash screen shows for a moment, then the destination screen.
- A building is chosen from the building list, then a corresponding room from the room list.
- The QR scanning screen pops up. A QR code is read through the camera which pulls location information into the app.
- A screen pops up with simple directions pulled from an API (resulting from the current user location and destination combination).
- App is terminated.
Postcondition: None.
Exceptions: QR scanner could not scan the QR code (user may have to find another QR code that responds when scanned).
Use Case #2
Precondition: Database contains destination, location paired information.
Description:
- A splash screen shows momentarily, then the destination page opens.
- The destination building is selected from the list, the 'Use Location' button is pushed.
- The Direction screen is displayed. There is a button which when pressed acquires the users location again.
- The users location is gathered and these steps are repeated until the app is terminated.
Postcondition: None.
Exceptions: The location of the user could not be defined, due too low cellular or WiFi reception.