remoteonboarding-react-native
v0.1.4
Published
React Native SDK for rendering onboarding flows created in your dashboard.
Readme
@remoteonboarding/react-native
React Native SDK for rendering onboarding flows created in your dashboard.
Install
npm install @remoteonboarding/react-nativeUsage
import { initialize, OnboardingView } from "@remoteonboarding/react-native";
initialize({
apiKey: "YOUR_API_KEY",
baseUrl: "https://your-dashboard-origin",
userId: "optional-user-id",
deviceId: "optional-device-id",
});
export default function OnboardingScreen() {
return <OnboardingView flowSlug="welcome-tour" />;
}The SDK reports session start, screen views, completion, and session end (on unmount or dismiss) to the /api/sdk/ingest endpoint.
