An application that plays songs with a BPM matching your running cadence.
Minimal steps to run this application.
- Clone the repo (or pull it).
- Run these commands to get required plugins and update them:
$ flutter upgrade `Optional: To make sure your Flutter runtime is up to date`
$ flutter clean `Optional: Cleans the flutter app directory`
$ flutter pub get `Gets dependencies`
$ flutter pub upgrade `Upgrades dependencies`
- Set up your
/assets/secrets.env
file. You may look atsecrets.env.example
file provided for more information. - Choose ONE of the following commands to run the app (you will need to connect a phone):
$ flutter run `Default: Runs the app in debug mode`
$ flutter run --release `Runs the app in release mode.`
NOTE: Running the app in release mode reduces app 'jankiness'. However, there is no logging or debugging output.
- First check that you have defined all required secrets in your
secrets.env
file. - If you are running the app on Android, you will also need a valid SHA1 key to run the app.
- Follow the instructions here
in the
Register App Fingerprints
section. - Contact @darylhjd to whitelist your SHA1 key.
- Follow the instructions here
in the
- If you are not a collaborator, you may create your own app in Spotify Dashboard and supply your own client secrets to run the app.