UNPKG

@qonversion/react-native-sdk

Version:

Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co

25 lines (20 loc) 691 B
import {ScreenPresentationStyle} from './enums'; class ScreenPresentationConfig { /** * Describes how screens will be displayed. * For mode details see the enum description. */ presentationStyle: ScreenPresentationStyle; /** * iOS only. For Android consider using {@link ScreenPresentationStyle.NO_ANIMATION}. * * Describes whether should transaction be animated or not. * Default value is true. */ animated: boolean; constructor(presentationStyle: ScreenPresentationStyle, animated?: boolean) { this.presentationStyle = presentationStyle; this.animated = animated === undefined ? true : animated; } } export default ScreenPresentationConfig;