import React from 'react'; import { View, Text } from 'react-native'; import { NativeAdaptyFlowViewProps } from './types'; import { mockStyles } from './mock-styles'; /** * Mock implementation of AdaptyFlowView component. * * This component is used in environments where native modules are not available: * - Expo Go * - Web browsers * * In builds with native dependencies (Expo EAS or dev-client), the actual native * AdaptyFlowView component will be used instead, which renders the real paywall * UI configured in the Adapty Dashboard. * * @see {@link https://adapty.io/docs/react-native-present-paywalls Displaying flows & paywalls} */ export const AdaptyFlowViewMock: React.FC< NativeAdaptyFlowViewProps > = props => { return ( 📦 AdaptyFlowView This is a mock component. The real Adapty paywall will be displayed in builds with native dependencies (Expo EAS or dev-client). 💡 Running on: Expo Go, Web. ); };