Skip to content
/ ga10 Public

Gå10 is a simple tool for people who need a bit more exercise and needs a little push. The app helps you set goals and track your progress.

License

Notifications You must be signed in to change notification settings

hdir/ga10

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helsedirektoratet - Gå 10

About

An app for Android and iOS for helping people get motivated to walk at least 10 minutes of brisk walk a day. Collects data on average walking speed per minute from native APIs

Requirements

The project requires that you have the following tools installed:

Set up project

  1. Open the solution file
  2. Restore nuget packages for solution

Notes

You should probably use actual devices rather than emulators to run the project, as you need proper walking data collected by the phone sensors.

Public release

This is a public release of the source code, which has the following information and assets removed:

  • App icons
  • Image and animation assets
  • API keys
  • Certificates and provisioning profiles

Platform specific services

There are two services which are platform specific: namely the ones implementing

IWalkingDataService.cs

and

IUpdateService.cs

These are loaded via lazy-loading in the following classes respectively (in the PCL)

CrossWalkingDataService.cs

CrossUpdateService.cs

These two files are added with link (by reference) to the Platform specific projects.

To make sure that the compiler does not optimize away the platform specific Service implementations, a CrossServiceContainer class has been created which contains the references. These are set at runtime at the earliest convenient time in the iOS Appdelegate and Android MainActivity. These are also set for the Android UpdateJob and the PerformFetch() method (for background polls) in the iOS Appdelegate.

Analytics

Analytics has been implemented for this app for tracking events. These include both data and UI events

Crash reports and diagnostics

Crash reports and diagnostics have been implemented for this app, and all crashes should deliver a stack trace (where possible)

Licenses

About

Gå10 is a simple tool for people who need a bit more exercise and needs a little push. The app helps you set goals and track your progress.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages