Configure Project
Once your device and Xcode are set up, the final step is to configure your project so Corbado can recognize your iOS app.
Set Application Identifier Prefix and Bundle Identifier
As explained in iOS: Overview
, the Apple-App-Site-Association (AASA) file plays a crucial role in using passkeys in your Flutter app.
-
On the developer panel, Go to
Settings → Native apps
-
Click on
Add new
. -
Insert your
Application Identifier Prefix
and yourBundle Identifier
.Use your team ID as the Application Identifier Prefix. You can find it at https://developer.apple.com/account under “Membership”. -
Submit the new iOS App
You can view your changes live through the association file link found inSettings → Native apps
Update Runner.entitlements
To link your Flutter app with the associated domain:
- Open
ios/Runner/Runner.entitlements
- Add the following association domain (Change with your RPID):
?mode=developer
here.Do not use the ?mode=developer
parameter in your production release. This parameter is intended for development purposes only. Using it in production will prevent iOS from properly detecting your AASA file, which will break passkey functionality in your released app.