La Casa del Bordadito is a native Android app built for a Mexican café and embroidery studio of the same name. Customers can browse the café menu and add drinks or snacks to a cart, stitch cross-stitch patterns on an interactive embroidery canvas, review upcoming workshop flyers, and message the support team in real time — all from a single app. Admins get a dedicated panel to manage catalogue items, view users, and moderate content.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AndresLopezCorrales/La-casa-del-bordadito/llms.txt
Use this file to discover all available pages before exploring further.
What the app does
The app ships six main feature areas that together cover the full in-store and at-home experience:- Café menu & ordering — browse the drink and food catalogue, choose sizes, add items to the cart, and confirm the purchase to receive a QR-code receipt scannable at the counter.
- Embroidery canvas — load cross-stitch patterns from Firestore, colour cells on a pixel canvas, track progress, and save the state per pattern.
- Cart & checkout — review items, see the running MXN total, confirm the order, and display the QR ticket (powered by ZXing).
- Real-time chat support — one-to-one chat with the support team backed by Firebase Realtime Database, with in-app pop-up notifications for new messages.
- Taller workshops — a dedicated activity showing the current workshop flyer and details, launched from the floating action button or the bottom-nav shortcut.
- Admin panel — unlocked by the
esAdminflag, lets staff add/edit café items, manage embroidery patterns, and access the user list.
Explore the docs
Café Menu
Browse the drink and food catalogue, choose sizes, and add items to the cart.
Embroidery Canvas
Load cross-stitch patterns, colour cells, and track your stitching progress.
Cart & Checkout
Review cart items, confirm your order, and receive a QR-code ticket for the counter.
Chat Support
Real-time one-to-one chat with the support team, with in-app notification pop-ups.
Workshops
View the current workshop flyer and register for upcoming embroidery classes.
Admin Guide
Manage the café catalogue, embroidery patterns, and user accounts from the admin panel.
App navigation structure
The main screen (MainActivity) uses a BottomNavigationView with five persistent tabs and a floating action button (FAB):
| Tab | Label | Fragment / Activity |
|---|---|---|
| 1 | Inicio | FragmentInicio — home feed |
| 2 | Cafe | FragmentCafe — café catalogue |
| 3 | Taller | TallerActivity — workshop flyer and details |
| 4 | Bordado | FragmentBordado — embroidery canvas |
| 5 | Cuenta | FragmentCuenta — profile, settings, admin |
Item_Taller bottom-nav tab and the FAB both launch TallerActivity. Selecting the Taller tab returns false to the navigation listener so the tab highlight does not stay selected after the activity opens, keeping the visual state consistent with whichever fragment was last active.
The toolbar also contains a cart icon with a live badge (backed by Firestore) and a history icon that open CarritoActivity and HistorialActivity respectively.
Tech stack
All Firebase services are initialised at runtime using the
google-services.json file placed in the app/ directory. OneSignal is initialised in ApplicationClass.onCreate() using the ONESIGNAL_APP_ID value injected through BuildConfig.Language & build
Kotlin 2.0.21 · Android Gradle Plugin 8.13.2 ·
minSdk 24 · targetSdk / compileSdk 36Authentication
Firebase Auth 24.0.1 — Email/Password (with email verification) and Google Sign-In via
play-services-auth 21.4.0Databases
Firestore 25.1.1 (café catalogue, cart, orders) · Firebase Realtime Database 22.0.1 (users, chat, unread counts, patterns, taller info)
Storage & media
Firebase Storage 22.0.1 · Glide 5.0.5 for image loading · ZXing 3.5.4 + zxing-android-embedded 4.3.0 for QR generation
Push notifications
OneSignal SDK 5.6.1 — push notifications and in-app pop-ups; user identity linked via
OneSignal.login(uid) after successful sign-inNetworking & utilities
OkHttp 4.12.0 (EmailJS welcome emails) · Gson 2.10.1 · PhotoView 2.3.0 · Country Code Picker 2.7.0
Admin role system
The admin panel inside the Cuenta tab is gated by an
esAdmin boolean stored in the Firebase Realtime Database. A separate esSoporte flag grants access to the support chat queue without full admin privileges.User records live at Usuarios/{uid} in the Realtime Database and are created automatically on first sign-in (Google or email). To promote a user to admin, set Usuarios/{uid}/esAdmin to true directly in the Firebase console or through the admin panel.