Skip to main content

Packages on pub.dev

The RunAnywhere Flutter SDK consists of three packages:

Add Dependencies

Add the packages you need to your pubspec.yaml:
Add these dependencies to pubspec.yaml:
Then run:

iOS Setup (Required)

After adding the packages, update your iOS configuration:

1. Update Podfile

Open ios/Podfile and update:
ios/Podfile
Without use_frameworks! :linkage => :static, you will encounter “symbol not found” errors at runtime.

2. Add Microphone Permission

Add to ios/Runner/Info.plist (for STT/Voice features):
ios/Runner/Info.plist

3. Install Pods

Android Setup

Add required permissions to android/app/src/main/AndroidManifest.xml:
android/app/src/main/AndroidManifest.xml
Also set 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 →