Docs

Native iOS and Android

The raw HTTP calls behind the SDKs, for stacks without one (Kotlin Multiplatform, .NET MAUI, C++, a custom transport).

Updated Oct 26, 2026

Swift and Kotlin have full SDKs (iOS quickstart (Swift), Android quickstart (Kotlin)) with the same features as Flutter. For any other stack every feature is plain HTTP on your project URL:

TaskRequest
Sign inPOST /api/v1/auth/project/login { email, password, org_id, project_id }
Refresh (rotates)POST /api/v1/auth/refresh { refresh_token }
Provider sign-inGET /api/v1/auth/sso/{provider}/authorize?…&code_challenge=…&mode=json → POST /api/v1/auth/sso/exchange
Register a push tokenPOST /api/v1/push/devices { token, platform, provider } (user token)
AttestationPOST /api/v1/attest/challenge → POST /api/v1/attest/exchange → header X-Sovaria-Attestation
DevicesGET /api/v1/auth/devices, DELETE /api/v1/auth/devices/{id}
  • Send the anon key as Authorization: Bearer <anon key> until the user signs in, then their access token.
  • Keep the refresh token in the Keychain (kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly) or the Android Keystore.
  • Use ASWebAuthenticationSession (iOS) or Custom Tabs (Android) for provider sign-in, never an embedded web view.
  • APNs device tokens (hex) register with provider: "apns"; FCM tokens with provider: "fcm".

#Coming from Firebase or Supabase?

PlatformWhat this is called there
FirebaseFirebase iOS and Android SDKs
Supabasesupabase-swift and supabase-kt
SovariaNative iOS and Android

Moving an existing app? Migrate from Supabase or Firebase imports users (with their passwords), data, files and rules.