@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
23 lines (19 loc) • 731 B
text/typescript
import ScreenPresentationConfig from './dto/ScreenPresentationConfig';
export default interface NoCodesApi {
/**
* Set the configuration of screen representation.
* @param config a configuration to apply.
* @param contextKey the context key of the screen, to which a config should be applied.
* If not provided, the config is used for all the screens.
*/
setScreenPresentationConfig(config: ScreenPresentationConfig, contextKey?: string): void;
/**
* Show the screen using its context key.
* @param contextKey the context key of the screen which must be shown
*/
showScreen(contextKey: string): void;
/**
* Close the current opened No-Code screen.
*/
close(): void;
}