Xamarin SDK
How to integrate with a Xamarin app
Setup Application in Authgear


Create a Xamarin app
Install the SDK
Platform Integration
Android
Define your own callback activity
Targeting API level 30 or above (Android 11 or above)
Initialize a global AuthgearSdk instance
iOS
Add the following key-value pair in your iOS project Info.plist
Initialize a global AuthgearSdk instance
Try authenticate
Edit your MainPage.xaml
Edit your MainPage.xaml.cs
Get the Logged In State
Fetching User Info
Logout
Calling An API
Using HttpClient
Next steps
Backend/API IntegrationXamarin SDK Reference
Footnote
Last updated
Was this helpful?