Your store in your pocket: a native app for Android and iOS, from a ready setup to a sign-in that works on a real phone
MobileIntermediate
By Dorian Chávez · co-founder and Chief Executive Officer of Hábil. This is how we teach those who build systems that cannot fail.
Start with lesson 0See the lessons
Course page: habil.mx/en/courses/tienda-app-nativa/, with the syllabus and the lessons in five languages.
Who it is for: anyone who already programs in some language, uses the terminal and git, and has built at least one interface, web or desktop. Kotlin, Android and OAuth are not assumed: you learn them here.
What you will know by the end: how to build with your own hands a native Android app, in Kotlin and Jetpack Compose, where you sign in with your Google or Microsoft account; the app welcomes you the first time and remembers you when you come back. And how to explain what Firebase did for you and what you did.
What you need before you start: Linux on an x86_64 processor (tested on Linux Mint 22.3), or a Mac, with 16 GB of RAM for the emulator (with less, you use your Android phone). Windows is not covered. The iOS part is on Mac only.
The project
The same invented store from «Ni una orden perdida» now has an app. In this first stage you get as far as sign-in: the customer signs in with Google or with Microsoft and the app recognizes them. In the following ones, the app consumes the store's API and moves to iOS.
A note on languages: the course project ships its on-screen texts in Spanish, and the files in lecciones/ are not
translated. In code blocks, terminal outputs and on-screen sketches the texts stay as the project has them; the prose
of each lesson gives them in English the first time they appear.
How you work with AI
In every lesson the same way: you predict what is going to happen → you ask Claude Code for the change → you
read what it generated → you run the verifica → you explain in your own words what it does. If you cannot
explain it, you do not move on. And in each lesson there is at least one exercise done without AI.
Each lesson brings an inicio/ project and a verifica that tells you, in red or in green, whether you have already
achieved it. Your written answers go in respuestas/. Everyone uses their own Firebase project: google-services.json
is never uploaded.
The lessons
They are done in order: each one starts from what the previous one left. Start with 00, which gets your environment ready.
Stage 1 — Getting to sign-in (Android)
| # | Lesson |
|---|---|
| 00 | Environment ready |
| 01 | My first screen runs |
| 02 | Screens that change |
| 02-B | Store component catalog (practice) |
| 03 | The app meets Firebase |
| 04 | Signing in with Google |
| 05 | Signing in with Microsoft |
| 06 | Two buttons, one account |
| 07 | The session stays |
| 08 | The first time |
Lessons
- Lesson 0 — Environment ready
- Lesson 1 — My first screen runs
- Lesson 2 — Screens that change
- Practice 02-B — The store's component catalog
- Lesson 3 — The app meets Firebase
- Lesson 4 — Signing in with Google
- Lesson 5 — Signing in with Microsoft
- Lesson 6 — Two buttons, one account
- Lesson 7 — The session stays
- Lesson 8 — The first time