Introduction
Learn how to add the Corbado Flutter SDK to your Flutter application.
What You’ll Learn
Simulator & Emulator
How to run an example application on iOS Simulator and Android Emulator
User Auth Flows
How to implement user sign-up, login and logout using our Flutter SDK with our block system
Backend Integration
How to integrate Corbado into your backend
Physical Device
How to run the example application on a physical device
See It in Action
Before diving into the implementation, check out these live examples:
Live Demo
A fully functional example deployed on Vercel: Live Demo (Flutter Web)
Official Corbado App
Our production-ready Flutter app:
Quick Start Guide
Let’s get you up and running with a local example using a pre-configured Corbado project. Follow these steps:
Set Up Your Development Environment
-
Install Required Tools:
- Xcode (for iOS development)
- Android Studio (for Android development)
- Flutter SDK
-
Verify Your Setup: Run the following command to ensure everything is properly configured:
Get the Example Code
Clone our example repository:
Configure Your Emulators
- Open the iOS Simulator
- Enable biometric authentication:
- Go to Features → Face ID / Touch ID → Enrolled
- Test authentication using Features → Face ID / Touch ID → Matching Face / Matching Touch
- Pro Tip: Use
Command + Shift + M
for Face ID orCommand + Shift + H
for Touch ID simulation
- Open the iOS Simulator
- Enable biometric authentication:
- Go to Features → Face ID / Touch ID → Enrolled
- Test authentication using Features → Face ID / Touch ID → Matching Face / Matching Touch
- Pro Tip: Use
Command + Shift + M
for Face ID orCommand + Shift + H
for Touch ID simulation
- Launch Android Studio and open the AVD Manager
- Ensure your emulator is running API level 30 or higher
- Complete these steps in the emulator:
- Set up a Google account (required for passkeys)
- Enable PIN/password in
Settings → Security
- Configure fingerprint authentication in
Settings → Security → Fingerprint
adb emu finger touch <finger_id>
For detailed troubleshooting, check out our Android Emulator Setup Guide.
Run the Example
Navigate to your project directory and run:
Next Steps
Are you prepared to integrate passkeys into your own application? Let’s proceed with the integration on your frontend.