learning_ai_common_plat/packages/react-native-platform-sdk/src/index.ts
saravanakumardb1 45dbb789a1 feat(react-native): React Native SDK foundation for NomGap
- package.json with React Native/Expo peer dependencies
- Main index.ts with module exports for all platform services
- Providers and hooks for auth, telemetry, feature flags, kill switch, broadcasts, surveys
2026-03-03 08:40:24 -08:00

56 lines
994 B
TypeScript

/**
* ByteLyst React Native Platform SDK
*
* Provides platform services for React Native/Expo apps:
* - Authentication
* - Telemetry
* - Feature Flags
* - Kill Switch
* - Broadcasts & Surveys
*/
export { createRNPlatformSDK } from './core.js';
// Re-exports from sub-modules
export {
useAuth,
AuthProvider,
type AuthState,
type AuthContextType,
} from './auth/index.js';
export {
useTelemetry,
TelemetryProvider,
type TelemetryEvent,
type TelemetryConfig,
} from './telemetry/index.js';
export {
useFeatureFlags,
FeatureFlagProvider,
type FeatureFlag,
} from './feature-flags/index.js';
export {
useKillSwitch,
KillSwitchProvider,
type KillSwitchState,
} from './kill-switch/index.js';
export {
useBroadcasts,
BroadcastProvider,
InAppMessageBanner,
BroadcastModal,
type InAppMessage,
} from './broadcasts/index.js';
export {
useSurveys,
SurveyProvider,
SurveyModal,
type ActiveSurvey,
type Question,
} from './surveys/index.js';