import { RNFirebase } from '@ulangi/react-native-firebase' ; export class AnalyticsAdapter { private analytics : RNFirebase . Analytics ; public constructor ( analytics ) { this . analytics = analytics ; } public setAnalyticsCollectionEnabled ( enabled ) { this . analytics . setAnalyticsCollectionEnabled ( enabled ) ; } public logEvent ( event , params ? ) { this . analytics . logEvent ( event , params ) ; } }