Added google analytics tracking.
This commit is contained in:
2
App.js
2
App.js
@@ -9,6 +9,7 @@ import { PersistGate } from "redux-persist/integration/react";
|
||||
import * as Sentry from "sentry-expo";
|
||||
import ScreenMainComponent from "./components/screen-main/screen-main.component";
|
||||
import env from "./env";
|
||||
import { logImEXEvent } from "./firebase/firebase.utils";
|
||||
import { client } from "./graphql/client";
|
||||
import { persistor, store } from "./redux/store";
|
||||
import "./translations/i18n";
|
||||
@@ -32,6 +33,7 @@ export default class App extends React.Component {
|
||||
}
|
||||
|
||||
async componentDidMount() {
|
||||
logImEXEvent("imexmobile_app_start");
|
||||
await Font.loadAsync({
|
||||
Roboto: require("native-base/Fonts/Roboto.ttf"),
|
||||
Roboto_medium: require("native-base/Fonts/Roboto_medium.ttf"),
|
||||
|
||||
Reference in New Issue
Block a user