e-mcbride / travel-diary-app

In-progress travel diary data collection app. Forked and modified from byCedric's example app for background location tracking in Expo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


vscode-expo

Office Marathon

An example app for background location tracking in Expo

license Android Play store demo


With this app, you can measure your total distance traveled within the office or your home. It's a simple app with the following structure.

  • app - is our entrypoint for the app, combining all providers.

Providers

Screens

  • screens/onboarding - this is where the app asks the user for background location permissions.
  • screens/distance - after the permissions are granted, the user can start/stop/reset location tracking and see their distance.

Services

Run locally

  • Clone the repository
  • $ yarn install
  • $ expo start

with ❤️  byCedric

TODO:

"Sign out" button

Tutorial progress:

Solid tutorial here.

TODO:

  1. Make the location tracking happen at a specific time
  2. Get the locations showing up on screen (may not be necessary, but i want to do it so that I can watch on my phone)
  3. Make "go to settings" button if they don't have location settings set up

Assigning date:

  1. they are assigned a random date within the date range specified
  2. When the time is 03:00:00 (in time zone of the survey area) on that date, start location tracking
  3. When the time is 02:59:59 on the next day, stop location tracking

About

In-progress travel diary data collection app. Forked and modified from byCedric's example app for background location tracking in Expo.

License:MIT License


Languages

Language:TypeScript 93.6%Language:JavaScript 6.4%