React Native Provider
TaqlynProvider, ready-gate, and auth hold (Detour-style).
LIVE SPECIMEN
Universal & Deferred Link SimulatorURL
https://taqlyn.com/shop/checkout?cartId=cart_9841&promo=WELCOME20&aff=partner_8TaqlynProvider configures the SDK, runs deferred resolve on mount, and exposes link state for splash / sign-in holds.
import {
TaqlynProvider,
useTaqlynGate,
useTaqlynContext,
} from "@taqlyn/sdk-react-native";
export function Root() {
return (
<TaqlynProvider
clientId={clientId}
publicKeyId={publicKeyId}
config={{
linkProcessingMode: "deferred-only",
resolveMode: "await",
fallbackPath: "/",
hosts: ["https://YOUR_TAQLYN_HOST"],
}}
>
<App />
</TaqlynProvider>
);
}
function App() {
const { holding } = useTaqlynGate();
const { setReady, link, clearLink } = useTaqlynContext();
// After auth / onboarding:
// setReady(true); navigate using link; clearLink();
if (holding) return <Splash />;
return <Navigator />;
}Pair with navigation +native-intent so warm https URLs expand before the first screen while the Provider owns deferred only.