diff --git a/DesignRequirements.md b/DesignRequirements.md new file mode 100644 index 0000000..c7a9a20 --- /dev/null +++ b/DesignRequirements.md @@ -0,0 +1,43 @@ +# abawo Bluetooth Device App + +This app is used for connecting to, configuring, and interacting with +abawo Bluetooth devices, such as the abawo Universal Shifters. + +## Features + +- See all connected devices +- Add devices (connect) +- Remove devices +- Configure devices + + +### Supported Devices + +- abawo Universal Shifters (only one for now) + - Description: Universal Shifter Device for Smart Trainers. Basically a proxy between + smart trainer and fitness app, that allows the smart trainer to connect to the fitness app, intercept simulation packets, and modify them to allow gear shifting. + + - Functions (app): Connect to device, scan other BT devices and send ID to device to establish + connection with smart trainer, send configuration to device (such as resistance calc + variant, and gears and such). + + + + +## Tech Stack + +- Flutter +- Riverpod +- GoRouter +- flutter_blue_plus +- shared_preferences + + +## Visual Design + +Sleek, modern. Dark and light theme supported. Rounded containers, somewhat glass-like. +Still mostly material design. + +### Company Color Theme +todo + diff --git a/analysis_options.yaml b/analysis_options.yaml index 0d29021..baf162b 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -24,5 +24,11 @@ linter: # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule + errors: + invalid_annotation_target: ignore + + + plugins: + - custom_lint # Additional information about this file can be found at # https://dart.dev/guides/language/analysis-options diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index be97ff1..f85d710 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,25 +1,29 @@ - - + + + + + + + + + + + + + + + + + + - + @@ -27,9 +31,7 @@ - +