onboardsync-react-native
Version:
Expo SDK for OnboardSync - Remote onboarding configuration platform with A/B testing
22 lines (18 loc) • 528 B
text/typescript
// Matching Flutter/Swift SDK types
export interface OnboardSyncConfig {
projectId: string;
secretKey: string;
testingEnabled?: boolean;
onComplete?: () => void;
}
// Response types matching backend
export interface ConfigResponse {
backendDomain: string;
}
export interface FlowResolutionResponse {
flowId: string;
}
// Permission types
export type PermissionType = 'camera' | 'photos' | 'location' | 'contacts' | 'notifications';
// Type alias for callbacks
export type OnboardingCompleteCallback = () => void;