Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 645 Bytes

analytics.md

File metadata and controls

36 lines (28 loc) · 645 Bytes

Analytics fireXtensions

Getting Started

Step 1 - Add the jitpack maven in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        // ...
        maven { url 'https://jitpack.io' }
    }
}

Step 2 - Add the dependency to your app's build.gradle:

dependencies {
    // ...

    implementation 'com.github.rosariopfernandes.fireXtensions:analytics:0.4.0'
}

Features

Get the default FirebaseAnalytics instance

Kotlin

val analytics = FirebaseAnalytics.getInstance(context)

Kotlin + KTX

val analytics = Firebase.analytics(context)