forked from idehub/react-native-google-analytics-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
18 lines (16 loc) · 750 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { GoogleAnalyticsBackwardsCompability } from './src/GoogleAnalyticsBackwardsCompability';
import { GoogleAnalyticsTracker } from './src/GoogleAnalyticsTracker';
import { GoogleAnalyticsSettings } from './src/GoogleAnalyticsSettings';
import { GoogleTagManager } from './src/GoogleTagManager';
import { GoogleAnalyticsBridge } from './src/NativeBridges';
export {
GoogleAnalyticsTracker,
GoogleAnalyticsSettings,
GoogleTagManager,
};
/**
* Backwards compatibility default export.
* Versions bellow 3.1.0 used static GoogleAnalytics class.
* This exported instance makes sure older implementations work.
*/
export default new GoogleAnalyticsBackwardsCompability(GoogleAnalyticsBridge ? GoogleAnalyticsBridge.nativeTrackerId : null);