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
- Android - Google Fit Sdk
- iOS - Pedometer
The project requires that you have the following tools installed:
- Visual Studio IDE 2019 (with the following)
- Open the solution file
- Restore nuget packages for solution
You should probably use actual devices rather than emulators to run the project, as you need proper walking data collected by the phone sensors.
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
There are two services which are platform specific: namely the ones implementing
and
These are loaded via lazy-loading in the following classes respectively (in the PCL)
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 has been implemented for this app for tracking events. These include both data and UI events
Crash reports and diagnostics have been implemented for this app, and all crashes should deliver a stack trace (where possible)
- MvvmCross - MS-PL
- GooglePlayServicesComponents(Fitness) - MIT
- Xamarin Android Appcompat - Mit
- sqlite-net-pcl - MIT
- Settings plugins for Xamarin and Windows - MIT
- CarouselView.FormsPlugin - MIT
- Xamarin.FFImageLoading.Svg.Forms - MIT
- VG.XFShapeView.NetCore - MIT
- Rg.Plugins.Popup - MIT
- FlowListView for Xamarin.Forms - Apache
- LottieXamarin - Apache
- SkiaSharp - MIT
- Newtonsoft.Json - MIT
- Acr.UserDialogs - MIT