Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount( ) {
firebase.analytics().setCurrentScreen('welcome-step-three', 'WelcomeStepThreeView');
}
render() {
componentDidMount( ) {
firebase.analytics().setCurrentScreen('confirmation-screen', 'ConfirmationScreen');
}
componentDidMount( ) {
firebase.analytics().setCurrentScreen('My Wallet');
}
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
}
componentDidMount() {
firebase.analytics().logEvent(`open_about_page`);
}
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);
}
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}
componentDidMount( ) {
firebase.analytics().setCurrentScreen('settlement', 'Settlement');
}