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

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Open-Source Intelligence (OSINT) Policy Analyst (TS/SCI)

@ WWC Global | Reston, Virginia, United States

Security Architect (DevSecOps)

@ EUROPEAN DYNAMICS | Brussels, Brussels, Belgium

Infrastructure Security Architect

@ Ørsted | Kuala Lumpur, MY

Contract Penetration Tester

@ Evolve Security | United States - Remote

Senior Penetration Tester

@ DigitalOcean | Canada