Flutter
Installation
Supported Platforms
- ✅ Android
- ✅ iOS
- ❌ Web
Requirements
- Flutter: 3.24.0+
- Dart: 3.0.0+
- Android: API 27+ (Android 8.1 Oreo or newer) and Kotlin 2.1.0+
- iOS: 16+ and Swift Package Manager
Installation
Enable Swift Package Manager
The Privy Flutter SDK uses Swift Package Manager. To enable it, run:
You’ll need to either use Flutter 3.24.0 on the main channel (experimental) or Flutter 3.27.0+ on stable. While 3.24.0 support is available by switching to Flutter’s main channel, this is not recommended for production apps as the main channel can be unstable.
Add the Dependency
- The Privy Flutter SDK is available on pub.dev. Add it to your
pubspec.yaml
file:
- Run the following command to install the dependency:
Was this page helpful?