The Taller section shows a single full-width flyer image to every user of the app. When a new workshop is scheduled, an admin replaces that flyer with an updated image. The upload can be triggered from two places in the app, and both paths automatically fire a broadcast push notification to all users via OneSignal as soon as the new URL is saved to Realtime Database.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.
How to update the workshop flyer
Option 1 — From the Admin tab
Tap 'Cambiar Flyer'
Scroll to the Taller section at the bottom of the Admin tab and tap the Cambiar Flyer button. A pop-up menu appears with two choices: Cámara and Galería.
Select the new image
Choose Cámara to take a photo on the spot, or Galería to pick an existing image from the device. The app requests the necessary permissions automatically if they have not been granted yet.
Option 2 — From TallerActivity
Admins also see a floating action button (FAB) directly on the workshop screen. The FAB is hidden for regular users — its visibility is determined at runtime:Storage and database paths
The image is uploaded to Firebase Storage at a fixed path:There is only one active flyer at a time. Because every upload uses the same Storage path (
flyerTaller/flyer_actual), the new image overwrites the previous file automatically. The old image is not retained in Storage.Automatic push notification
Immediately afterflyerUrl is saved, FcmUtil.enviarNotificacionATodos() is called targeting the “All” OneSignal segment. Both upload paths use the same notification title but their body strings differ slightly depending on where the upload originates.
From TallerActivity (FAB):
https://api.onesignal.com/notifications with included_segments: ["All"], so every user who has granted notification permission receives the alert at the same moment.