Hangry/app/config/log.js

9 lines
237 B
JavaScript
Raw Normal View History

2024-02-27 16:19:55 +08:00
import firebase from 'react-native-firebase'
export default class Log {
firebaseLog(logName,param){
firebase.analytics().logEvent(logName,param);
}
firebaseClass(page){
firebase.analytics().setCurrentScreen(page);
}
}