{"library":"better-auth-capacitor","type":"library","category":null,"description":"The `better-auth-capacitor` package provides an offline-first authentication client plugin specifically designed for Capacitor and Ionic mobile applications. It integrates with the broader `better-auth` ecosystem, offering features like persistent session storage via `@capacitor/preferences`, robust OAuth flow support using system browsers and deep link callbacks, and automatic session refreshing when the app regains focus or network connectivity. The current stable version is 0.3.6, with recent releases indicating an active development cadence focusing on features and bug fixes. Key differentiators include its focus on mobile-specific authentication challenges, seamless integration with Capacitor's native capabilities, and utilities for secure token extraction and custom authentication endpoint integration.","language":"javascript","status":"active","version":"0.3.6","tags":["javascript","better-auth","capacitor","ionic","authentication","oauth","mobile","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-auth-capacitor","imports":["import { withCapacitor } from 'better-auth-capacitor/client';","import { capacitor } from 'better-auth-capacitor';","import { getCapacitorAuthToken } from 'better-auth-capacitor/client';","import { setCapacitorAuthToken } from 'better-auth-capacitor/client';"]},{"cmd":"yarn add better-auth-capacitor","imports":[]},{"cmd":"pnpm add better-auth-capacitor","imports":[]}],"homepage":null,"github":"https://github.com/productdevbook/better-auth-capacitor","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-auth-capacitor","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-auth-capacitor/compatibility"}}