BlueWallet/blue_modules/analytics.js

32 lines
601 B
JavaScript
Raw Normal View History

const BlueApp = require('../BlueApp');
2021-05-18 13:54:18 +02:00
if (process.env.NODE_ENV !== 'development') {
2021-08-19 22:14:45 +02:00
// nop
2021-05-18 13:54:18 +02:00
}
BlueApp.isDoNotTrackEnabled().then(value => {
2021-08-19 22:14:45 +02:00
if (value) {
// nop
}
});
const A = async event => {};
A.ENUM = {
INIT: 'INIT',
GOT_NONZERO_BALANCE: 'GOT_NONZERO_BALANCE',
2019-11-29 00:16:04 +01:00
GOT_ZERO_BALANCE: 'GOT_ZERO_BALANCE',
CREATED_WALLET: 'CREATED_WALLET',
CREATED_LIGHTNING_WALLET: 'CREATED_LIGHTNING_WALLET',
2019-11-29 00:16:04 +01:00
APP_UNSUSPENDED: 'APP_UNSUSPENDED',
NAVIGATED_TO_WALLETS_HODLHODL: 'NAVIGATED_TO_WALLETS_HODLHODL',
};
A.setOptOut = value => {
2021-08-19 22:14:45 +02:00
if (value) {
// nop
}
};
module.exports = A;