BlueWallet/index.js

22 lines
471 B
JavaScript
Raw Normal View History

import React, { useEffect } from 'react';
import './shim.js';
import { AppRegistry } from 'react-native';
import App from './App';
2019-09-20 02:09:33 +02:00
const A = require('./analytics');
if (!Error.captureStackTrace) {
// captureStackTrace is only available when debugging
Error.captureStackTrace = () => {};
}
const BlueAppComponent = () => {
useEffect(() => {
A(A.ENUM.INIT);
}, []);
2019-09-20 02:09:33 +02:00
return <App />;
};
2020-05-19 19:16:30 +02:00
AppRegistry.registerComponent('BlueWallet', () => BlueAppComponent);