OPS: Use App Center trackEvent

This commit is contained in:
Marcos Rodriguez 2019-08-04 01:49:37 -04:00 committed by Overtorment
parent fd3de0e8fc
commit 1a4f820c63

View File

@ -1,11 +1,13 @@
import amplitude from 'amplitude-js';
import Analytics from 'appcenter-analytics';
amplitude.getInstance().init('8b7cf19e8eea3cdcf16340f5fbf16330', null, {
useNativeDeviceInfo: true,
});
let A = function(event) {
let A = event => {
amplitude.getInstance().logEvent(event);
Analytics.trackEvent(event);
};
A.ENUM = {