Documentation Index
Fetch the complete documentation index at: https://docs.runanywhere.ai/llms.txt
Use this file to discover all available pages before exploring further.
Packages on pub.dev
The RunAnywhere Flutter SDK consists of three packages:| Package | Description | pub.dev |
|---|---|---|
runanywhere | Core SDK with APIs and infrastructure | |
runanywhere_llamacpp | LLM text generation (GGUF models) | |
runanywhere_onnx | STT, TTS, VAD (ONNX models) |
Add Dependencies
Add the packages you need to yourpubspec.yaml:
- LLM Only
- STT/TTS Only
- All Features
Add these dependencies to
pubspec.yaml:iOS Setup (Required)
After adding the packages, update your iOS configuration:1. Update Podfile
Openios/Podfile and update:
ios/Podfile
2. Add Microphone Permission
Add toios/Runner/Info.plist (for STT/Voice features):
ios/Runner/Info.plist
3. Install Pods
Android Setup
Add required permissions toandroid/app/src/main/AndroidManifest.xml:
android/app/src/main/AndroidManifest.xml
android:usesCleartextTraffic="true" on the <application> tag if your app downloads models over HTTP or uses HTTP APIs (e.g., weather).
Android Build Configuration
The recommended Gradle configuration for optimal performance:android/gradle.properties
The higher JVM memory allocation (
-Xmx8G) may be needed for native SDK compilation. Android
requires Java 17 compatibility.Verify Installation
Run your app to verify everything is set up correctly:Starter Example
Want to see a complete working example? Check out our official Flutter starter app:Flutter Starter Example
Clone and run a complete example app with LLM, STT, TTS, and Voice Agent
Next Steps
Quick Start
Build your first AI feature →