-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathEvents.js
27 lines (25 loc) · 1.04 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
24
25
26
27
/**
* Events
*/
export default {
// Common events
PAYWALL_REQUESTED: 'deepWallPaywallRequested',
PAYWALL_RESPONSE_RECEIVED: 'deepWallPaywallResponseReceived',
PAYWALL_RESPONSE_FAILURE: 'deepWallPaywallResponseFailure',
PAYWALL_OPENED: 'deepWallPaywallOpened',
PAYWALL_NOT_OPENED: 'deepWallPaywallNotOpened',
PAYWALL_ACTION_SHOW_DISABLED: 'deepWallPaywallActionShowDisabled',
PAYWALL_CLOSED: 'deepWallPaywallClosed',
PAYWALL_EXTRA_DATA_RECEIVED: 'deepWallPaywallExtraDataReceived',
PAYWALL_PURCHASING_PRODUCT: 'deepWallPaywallPurchasingProduct',
PAYWALL_PURCHASE_SUCCESS: 'deepWallPaywallPurchaseSuccess',
PAYWALL_PURCHASE_FAILED: 'deepWallPaywallPurchaseFailed',
PAYWALL_RESTORE_SUCCESS: 'deepWallPaywallRestoreSuccess',
PAYWALL_RESTORE_FAILED: 'deepWallPaywallRestoreFailed',
// iOS ONLY events
ATT_STATUS_CHANGED: 'deepWallATTStatusChanged',
// Android ONLY events
PAYWALL_CONSUME_SUCCESS: 'deepWallPaywallConsumeSuccess',
PAYWALL_CONSUME_FAIL: 'deepWallPaywallConsumeFailure',
INIT_FAILURE: 'deepWallInitFailure',
};