-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEvents.js
executable file
·23 lines (21 loc) · 1.05 KB
/
Events.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
* Events
*/
exports.PAYWALL_REQUESTED = 'deepWallPaywallRequested';
exports.PAYWALL_RESPONSE_RECEIVED= 'deepWallPaywallResponseReceived';
exports.PAYWALL_RESPONSE_FAILURE= 'deepWallPaywallResponseFailure';
exports.PAYWALL_OPENED= 'deepWallPaywallOpened';
exports.PAYWALL_NOT_OPENED= 'deepWallPaywallNotOpened';
exports.PAYWALL_ACTION_SHOW_DISABLED= 'deepWallPaywallActionShowDisabled';
exports.PAYWALL_CLOSED= 'deepWallPaywallClosed';
exports.PAYWALL_EXTRA_DATA_RECEIVED= 'deepWallPaywallExtraDataReceived';
exports.PAYWALL_PURCHASING_PRODUCT= 'deepWallPaywallPurchasingProduct';
exports.PAYWALL_PURCHASE_SUCCESS= 'deepWallPaywallPurchaseSuccess';
exports.PAYWALL_PURCHASE_FAILED= 'deepWallPaywallPurchaseFailed';
exports.PAYWALL_RESTORE_SUCCESS= 'deepWallPaywallRestoreSuccess';
exports.PAYWALL_RESTORE_FAILED= 'deepWallPaywallRestoreFailed';
// android ONLY
exports.PAYWALL_CONSUME_SUCCESS= 'deepWallPaywallConsumeSuccess';
exports.PAYWALL_CONSUME_FAILURE= 'deepWallPaywallConsumeFailure';
// iOS ONLY events
exports.ATT_STATUS_CHANGED= 'deepWallATTStatusChanged';