Skip to content

Catch My Cadence calculates your running cadence and plays a song matching it! This is a Proof-of-Concept application made for CZ2006 Software Engineering.

License

Notifications You must be signed in to change notification settings

CZ2006-TODO/catch-my-cadence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catch My Cadence

An application that plays songs with a BPM matching your running cadence.

demo.gif

Getting Started

Minimal steps to run this application.

  1. Clone the repo (or pull it).
  2. 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`
  1. Set up your /assets/secrets.env file. You may look at secrets.env.example file provided for more information.
  2. 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.

FAQ

I get a UserNotAuthorizedException when running the app!

  • 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.
  • 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.

About

Catch My Cadence calculates your running cadence and plays a song matching it! This is a Proof-of-Concept application made for CZ2006 Software Engineering.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published