react-native-adapty
Version:
Adapty React Native SDK
17 lines • 564 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_EVENT_HANDLERS = exports.AdaptyUiDialogActionType = void 0;
exports.AdaptyUiDialogActionType = Object.freeze({
primary: 'primary',
secondary: 'secondary',
});
/**
* @internal
*/
exports.DEFAULT_EVENT_HANDLERS = {
onCloseButtonPress: () => true,
onAndroidSystemBack: () => true,
onRestoreCompleted: () => true,
onPurchaseCompleted: (purchaseResult) => purchaseResult.type !== 'user_cancelled',
};
//# sourceMappingURL=types.js.map
;