Rhino — Flutter Quick Start
Requirements
- 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.
Compatibility
- Flutter 1.20.0
- Android 4.1+ (API 16+)
- iOS 9.0+
Cloning the Rhino Repository
If using SSH, clone the Rhino repository with:
git clone [email protected]:Picovoice/rhino.git
If using HTTPS, then type:
git clone https://github.com/Picovoice/rhino.git
Usage
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:
flutter run
The default context for this demo is Smart Lighting
. Simply press start and the engine can recognize commands such as
Turn off the lights.
or
Set the lights in the bedroom to blue.
The full list of supported commands are available here.