Picovoice Platform — Flutter Quick Start
- Flutter SDK
- Android SDK 16+
- JDK 8+
- Xcode 9+
Follow Flutter's guide to install the Flutter SDK on your system. Once installed, you can run
flutter doctor to determine any other missing requirements.
- Flutter 1.20.0
- Android 4.1+ (API 16+)
- iOS 9.0+
Cloning the Picovoice Repository
If using SSH, clone the Picovoice repository with:
git clone --recurse-submodules [email protected]:Picovoice/picovoice.git
If using HTTPS, then type:
git clone --recurse-submodules https://github.com/Picovoice/picovoice.git
Before launching the app, use the
copy_assets.sh script to copy the Picovoice demo assets into the demo project. (NOTE: on Windows, Git Bash or another bash shell is required, or you will have to manually copy the context into the project).
Run the following command from demo/flutter to build and deploy the demo to your device:
The demo application listens for you to way the wake word "Picovoice" and then listens for follow-on commands from the "SmartLighting" Rhino context. For instance, you can say:
Picovoice, turn on the kitchen lights.
The full list of supported commands are available here.