June 27, 2023, 3:59 p.m. | Eliza Camber

DEV Community dev.to

Most Android apps have some kind of authentication. For this post, we will see how this flow works using Google’s One Tap sign-in, Firebase and Amity.


The tech stack we will be using is:



  • Kotlin script (KTS) for our Gradle

  • Jetpack Compose for our UI

  • MVVM architecture

  • Hilt for dependency injection

  • Amity’s Social SDK

  • Google’s OneTap authentication

  • Firebase authentication


The flow is as follows: first, we’ll check if Amity’s session is valid; if it is we’ll continue to our main …

android android apps apps architecture authentication compose dependency firebase flow google gradle identity injection jetpack kotlin login script services sign stack tech tech stack tutorial

CyberSOC Technical Lead

@ Integrity360 | Sandyford, Dublin, Ireland

Cyber Security Strategy Consultant

@ Capco | New York City

Cyber Security Senior Consultant

@ Capco | Chicago, IL

Senior Security Researcher - Linux MacOS EDR (Cortex)

@ Palo Alto Networks | Tel Aviv-Yafo, Israel

Sr. Manager, NetSec GTM Programs

@ Palo Alto Networks | Santa Clara, CA, United States

SOC Analyst I

@ Fortress Security Risk Management | Cleveland, OH, United States