@theoo/react-native
v0.4.0
Published
Theoo for React Native: platform passkeys, persistent sessions, and native sign-in and confirmation screens.
Readme
@theoo/react-native
Theoo for React Native: platform passkeys, persistent sessions, and native sign-in and confirmation screens.
npm install @theoo/react-native @theoo/react @theoo/sdk react-native-passkeyimport { Theoo } from "@theoo/sdk";
import { TheooProvider } from "@theoo/react";
import { nativePasskeys, AsyncStorageTokenStore } from "@theoo/react-native";
const theoo = new Theoo({
baseUrl: "https://theoo.example.com",
apiKey: "theoo_pub_…",
passkeys: nativePasskeys,
tokens: new AsyncStorageTokenStore(AsyncStorage),
});The same hooks as @theoo/react, with ceremonies running through the
platform authenticator instead of the browser.
Your app's associated-domains / asset-links configuration must match the tenant's relying-party id, or the platform will refuse to create a passkey.
