@adapty/react-native-ui
Version:
Extension to the Adapty SDK that allows you to easily add purchase screens to your application.
29 lines (27 loc) • 581 B
text/typescript
/**
* Valid list of expected parameters to the handlers
* Must be the same as
* - iOS RNAConstants.ParamKey
* @internal
*/
export const ParamKeys = [
'paywall',
'locale',
'prefetch_products',
'custom_tags',
'timer_info',
'view_id',
] as const;
export type ParamKey = (typeof ParamKeys)[number];
/**
* Valid list of callable bridge handlers
* Must be the same as
* - iOS RNAConstants.MethodName
* @internal
*/
export const MethodNames = [
'present_view',
'dismiss_view',
'create_view',
] as const;
export type MethodName = (typeof MethodNames)[number];