How to use the react-native-firebase.analytics function in react-native-firebase

To help you get started, we’ve selected a few react-native-firebase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github blockmason / lndr-mobile / packages / ui / views / welcome / welcome-step-three / index.tsx View on Github external
componentDidMount( ) {
    firebase.analytics().setCurrentScreen('welcome-step-three', 'WelcomeStepThreeView');
  }
  render() {
github blockmason / lndr-mobile / packages / ui / views / confirmation / index.tsx View on Github external
componentDidMount( ) {
    firebase.analytics().setCurrentScreen('confirmation-screen', 'ConfirmationScreen');
  }
github blockmason / lndr-mobile / packages / ui / views / wallet / index.tsx View on Github external
componentDidMount( ) {
    firebase.analytics().setCurrentScreen('My Wallet');
  }
github blockmason / lndr-mobile / packages / ui / views / account / friends / index.tsx View on Github external
async componentDidMount() {
    firebase.analytics().setCurrentScreen('friends', 'FriendsView');
    this.stillRelevant = true
    await loadingFriends.wrap(this.props.getFriends())
    await loadingFriendRequests.wrap(this.props.getFriendRequests())
    await loadingRecentTransactions.wrap(this.props.getRecentTransactions())
    this.stillRelevant
  }
github RSG-Group / RSG-Chess-mobile / src / pages / About.js View on Github external
componentDidMount() {
    firebase.analytics().logEvent(`open_about_page`);
  }
github mapswipe / mapswipe / src / shared / views / ProjectView.js View on Github external
componentDidMount() {
        const { project } = this.props;
        this.mounted = true;
        fb.analytics().logEvent('project_view_opened');
        const parent = this;
        parent.setState({
            hasOfflineGroups: GLOBAL.DB.hasOfflineGroups(`project-${project.projectId}`),
        });
        setInterval(() => {
            if (!parent.mounted) {
                return;
            }
            parent.setState({
                hasOfflineGroups: GLOBAL.DB.hasOfflineGroups(`project-${project.projectId}`),
            });
        }, 300);
    }
github mapswipe / mapswipe / src / shared / views / ProjectView.js View on Github external
onPress={() => {
                            fb.analytics().logEvent('starting_tutorial', {
                                projectType: project.projectType,
                            });
                            if (project.projectType === LEGACY_TILES) {
                                navigation.push('Mapper', {
                                    project,
                                    tutorial: true,
                                });
                            } else {
                                Alert.alert(
                                    'Coming soon!',
                                    'The tutorial is not ready yet for this type of projects.',
                                );
                            }
                        }}
                        textStyle={style.buttonText}
github blockmason / lndr-mobile / packages / ui / dialogs / settlement / index.tsx View on Github external
componentDidMount( ) {
    firebase.analytics().setCurrentScreen('settlement', 'Settlement');
  }