1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00
Files
tooot/src/components/analytics.ts
Zhiyuan Zheng 06db0580cd Fix bugs
2022-02-14 22:10:07 +01:00

8 lines
206 B
TypeScript

import * as Analytics from 'expo-firebase-analytics'
const analytics = (event: string, params?: { [key: string]: any }) => {
Analytics.logEvent(event, params).catch(() => {})
}
export default analytics