mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 21:06:44 -06:00
[Login] Add logging Firebase events on login.
This commit is contained in:
parent
9ccb6e0a24
commit
9e95d05182
@ -20,6 +20,7 @@ import androidx.core.view.isVisible
|
|||||||
import androidx.fragment.app.Fragment
|
import androidx.fragment.app.Fragment
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager
|
import androidx.recyclerview.widget.LinearLayoutManager
|
||||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
import com.google.android.material.dialog.MaterialAlertDialogBuilder
|
||||||
|
import com.google.firebase.analytics.FirebaseAnalytics
|
||||||
import kotlinx.coroutines.*
|
import kotlinx.coroutines.*
|
||||||
import pl.szczodrzynski.edziennik.*
|
import pl.szczodrzynski.edziennik.*
|
||||||
import pl.szczodrzynski.edziennik.data.api.*
|
import pl.szczodrzynski.edziennik.data.api.*
|
||||||
@ -202,6 +203,7 @@ class LoginChooserFragment : Fragment(), CoroutineScope {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (loginType.loginType == LOGIN_TYPE_LIBRUS) {
|
if (loginType.loginType == LOGIN_TYPE_LIBRUS) {
|
||||||
|
FirebaseAnalytics.getInstance(activity).logEvent("librus_hacked", Bundle())
|
||||||
nav.navigate(R.id.loginLibrusFragment, null, activity.navOptions)
|
nav.navigate(R.id.loginLibrusFragment, null, activity.navOptions)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user