The Privy Flutter SDK uses Swift Package Manager. To enable it, run:
Copy
Ask AI
flutter config --enable-swift-package-manager
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.