react-native-purchases-ui
Version:
React Native in-app purchases and subscriptions made easy. Supports iOS and Android.
13 lines • 862 B
TypeScript
import { PAYWALL_RESULT } from "@revenuecat/purchases-typescript-internal";
/**
* Preview implementation of the native module for Preview API mode, i.e. for environments where native modules are not available
* (like Expo Go).
*/
export declare const previewNativeModuleRNPaywalls: {
presentPaywall: (offeringIdentifier?: string, presentedOfferingContext?: Record<string, unknown>, _displayCloseButton?: boolean, _fontFamily?: string | null) => Promise<PAYWALL_RESULT>;
presentPaywallIfNeeded: (requiredEntitlementIdentifier: string, offeringIdentifier?: string, presentedOfferingContext?: Record<string, unknown>, _displayCloseButton?: boolean, _fontFamily?: string | null) => Promise<PAYWALL_RESULT>;
};
export declare const previewNativeModuleRNCustomerCenter: {
presentCustomerCenter: () => null;
};
//# sourceMappingURL=nativeModules.d.ts.map