Skip to content

@capgo/capacitor-supabase

Native Supabase authentication, JWT access, and basic database helpers for Capacitor

Native Supabase authentication, JWT access, and basic database helpers for Capacitor

Start with initialize() and the other core methods listed below.

PlatformSupportNotes
iOSYesNative
AndroidYesNative
WebNoGuard with Capacitor.getPlatform()
  • Native Supabase client initialization.
  • Email/password sign-in and sign-up.
  • OTP, magic link, OAuth, and session helpers.
  • Native auth state listeners.
  • JWT access for JavaScript or backend calls.
  • Basic native select, insert, update, and delete helpers.
ConcernRecommended path
AuthenticationUse @capgo/capacitor-supabase.
Session persistence and refreshUse @capgo/capacitor-supabase.
Advanced database queriesUse @supabase/supabase-js with the native JWT.
Realtime, Storage, Edge FunctionsUse @supabase/supabase-js.

This reference is synced from src/definitions.ts in capacitor-supabase.

If you are using @capgo/capacitor-supabase to plan security and compliance, connect it with Encryption for the implementation detail in Encryption, Compliance for the implementation detail in Compliance, Capgo Security Scanner for the product workflow in Capgo Security Scanner, Capgo Security for the product workflow in Capgo Security, and Capgo Trust Center for the product workflow in Capgo Trust Center.