Skip to content

@capgo/capacitor-neon

Native Neon Auth, JWT access, and basic Data API helpers for Capacitor

Native Neon Auth, JWT access, and basic Data API helpers for Capacitor

Start with initialize(); see Getting Started for the core methods and examples.

PlatformSupportNotes
iOSYesNative
AndroidYesNative
WebNoGuard with Capacitor.getPlatform()
Plugin versionCapacitor compatibilityMaintained
v8.*.*v8.*.*Yes

The plugin major version matches Capacitor (plugin v8 for Capacitor 8). Only the latest major version is actively maintained.

  • Native Neon Auth client initialization.
  • Email/password sign-in and sign-up.
  • Email OTP, OAuth (Google, GitHub, Vercel), and session helpers.
  • Native auth state listeners.
  • JWT access for JavaScript or backend calls.
  • Anonymous Data API tokens for signed-out users.
  • Basic native select, insert, update, and delete helpers through the Neon Data API.
ConcernRecommended path
AuthenticationUse @capgo/capacitor-neon.
Session persistence and refreshUse @capgo/capacitor-neon.
Advanced database queriesUse @neondatabase/neon-js with the native JWT.
Neon Functions or your own APISend the native JWT as a Bearer token.

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

If you are using @capgo/capacitor-neon 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.