Companion

object Companion

Properties

Link copied to clipboard
var firebaseAnalyticsInstance: FirebaseAnalytics? = null

Firebase Analytics instance, assign only if the app that implements the library should log analytics events, this property is global and is used in all subclasses of this class. If you want to disable event logging for a specific class, do so through the firebaseAnalyticsEnabled property of the class instance.

Link copied to clipboard
var firebaseCrashlyticsInstance: FirebaseCrashlytics? = null

Firebase Crashlytics instance, assign only if the app implementing the library need to log library recoverable errors in Firebase Crashlytics, this property is global and is used in all subclasses of this class. Assign it only once within the app, taking into account that the app must have Firebase Crashlytics configured, or leave it as null if it is not required or if Firebase Crashlytics is not used in the app.

Link copied to clipboard
var logEnable: <Error class: unknown class>

To enable or disable the debug log messages, by default it is configured by BuildConfig.DEBUG, this configuration applies to all classes that inherit from Base, that is, it is globally enabled or disabled.