2691907d23
iOS build coming in next release |
||
---|---|---|
.github/workflows | ||
.vscode | ||
android | ||
ios | ||
lib | ||
web | ||
windows | ||
.gitignore | ||
.metadata | ||
analysis_options.yaml | ||
LICENSE | ||
pubspec.lock | ||
pubspec.yaml | ||
README.md |
openshock-android
Companion app for managing openshock-compatible devices
Minimum supported Android API: 31 (Android 12).
Flutter application to manage and control openshock devices from your phone.
Installing
Stable release channel
Grab one of the builds from the releases page or run:
flutter build apk
Production artifacts will be found in the build\app\outputs\apk\
directory.
RRC (Rolling Release Channel)
There's also a Rolling release available as a GitHub Actions artifact. It runs every time I commit, so it might be up to date but also potentially broken.
Building for Android
Make sure you have Flutter, Android Studio, and Visual Studio Code installed. Install the suggested Flutter, Dart, and linting extensions in Visual Studio Code.
Run the following commands to ensure all dependencies are met:
flutter doctor
You'll be guided through a first-time setup that checks for platform tools, dependencies, and missing components.
Once the setup is complete you can navigate to the repo folder and run
flutter run
If you want to build debug you can also run
flutter build apk --debug
Build artifacts for Android are saved under build\app\outputs\apk
regardless of the build type.