
Snory
Kids Bedtime Stories, Sleep Audio & Mindfulness App Suite
Snory is a production-ready Flutter iOS & Android bedtime stories suite paired with a React 18 + Material UI Admin Portal on Firebase. Designed for kids' sleep audio, guided mindfulness, breathing exercises, and interactive storybooks, it gives creators and studios a complete launchpad with offline caching and RevenueCat subscriptions out of the box.
Instead of maintaining a custom backend server, both applications synchronize directly through Cloud Firestore, Firebase Storage, and Firebase Authentication—letting content teams publish tracks, toggle paywall locks, and update the mobile home hero banner in real time without shipping an app update.

Architecture & Included Modules
- Mobile Client (`snory-app/`): Built with Flutter 3.29, GetX, and
flutter_screenutil(390x844), featuring anonymous Firebase Auth startup, 9 home category shelves, a full-screen audio/video player, breathing exercises, andPageFlipWidgetstorybooks. - Web Admin Portal (`snory-admin/`): Built with React 18, MUI 5, React Router 6, and Firebase JS SDK v11, giving editors Email/Password authentication, paginated Firestore catalog search, multi-format uploads, and hero banner selection.
- Backend & Security Config: Ships with deployable
firestore.rules,firestore.indexes.jsoncomposite indexes, andstorage.rulesso teams can deploy directly to Firebase Hosting and Firestore without an intermediate API server.

Mobile Listening, Storybooks & Offline Experience
Families step from a welcoming first-run onboarding flow into a calm dark-teal dashboard showcasing a featured hero banner (settings/config) and curated shelves across New, Stories, Meditations, Mindfulness, Lullaby, Storybook, Music, Sounds, and Breath. Free tracks sort ahead of locked items so new users can explore immediately.
- Background Audio & Looping Ambient Video:
AudioManagerpairsjust_audioandjust_audio_backgroundlock-screen controls withCachedVideoPlayerPlusambient scenes, seek controls, and1x/2x/3xrepeat timers. - Persistent Mini-Player: Keeps active bedtime audio controllable while parents and children browse other categories or check their personal library.
- Automatic & Explicit Offline Storage:
OfflineAudioCachecaches streamed tracks withDiowhile full-track downloads persist audio, video, and cover artwork locally in Hive boxes (dData,favData,recentData,cached_audio_files). - RevenueCat Monetization:
protectedNavigator()verifies active entitlements (purchases_flutter) before opening paid content and routes unsubscribed users toSubscriptionScreenwith package selection and Restore Purchases.

React Admin Portal & Content Publishing
Content managers sign into snory-admin with Firebase Email/Password authentication to curate the entire mobile catalog. Every post supports Audio, Storybook, or Breath formats with flexible media slots (listImage, bannerImage, newSectionImage, audio, background video, or storybook page arrays).
- Live Visibility & Paywall Toggles: Search Firestore
postsby keyword, togglevisibleorpaidstatus inline, and set the active herobanner_idwithout rebuilding mobile binaries. - Upload or Link External CDN Media:
MediaInputsupports direct Firebase Storage uploads (storage.js) or externalhttps://media links with inline preview. - Segmented Push Campaign UI: Target All, Free, or Paid FCM topics from the notification composer once connected to your Cloud Function webhook.

Tech Stack & White-Label Readiness

White-Label & Production Checklist
Before releasing to the App Store or Google Play, configure your RevenueCat SDK keys in snory-app/lib/main.dart, set your Privacy Policy and Terms URLs, switch IS_DEMO to false in snory-admin/src/utils/config.js, and restrict Firestore and Storage write rules to verified admin accounts.
Features
- Cross-platform Flutter mobile app (iOS & Android) with first-run onboarding, featured hero banner, and 8 curated bedtime categories
- Three media formats: Sleep Audio Stories with looping ambient video, Guided Breathing Videos, and interactive Page-Flip Storybooks
- Full-screen audio player and persistent floating mini-player powered by just_audio, just_audio_background, and audio_session
- Background lock-screen media controls, seekbar, skip controls, and 1x / 2x / 3x repeat timer for uninterrupted bedtime listening
- Automatic Dio MP3 audio caching plus explicit offline downloads (audio, video, artwork) stored locally in Hive boxes
- Personal library hub featuring My Favourites, Recently Played, and Offline Downloads tabs synced across screens
- RevenueCat subscription paywall (purchases_flutter) with free-first shelf sorting, route paywall guard, and Restore Purchases
- React 18 + Material UI Admin Portal for publishing multi-format content, toggling visible/paid flags, setting the home banner, and composing topic push alerts
Requirements
- 1Flutter SDK 3.29.0+ (Dart >=3.4.0 <4.0.0) with Android Studio / Xcode for mobile builds
- 2Node.js LTS and npm for building and deploying the React 18 + MUI Admin Portal
- 3Firebase project with Authentication (Anonymous & Email/Password), Cloud Firestore, Firebase Storage, and Hosting
- 4RevenueCat account configured with Google Play Billing and/or Apple App Store Connect products
- 5External Cloud Function endpoint (optional) if using admin-triggered FCM topic push notifications
Changelog
- • Changed flutter_screenutil design size to the recommended 390x844.
- • Resolved Code Quality Flutter Analyzer warnings and errors.
- • Removed all print and log statements from production code.
- • Added Firestore and Storage security rules for Admin deployment.
- • Updated Security Notice documentation with rule deployment instructions.
- • Replaced live credentials with placeholders for better security.
- • Fixed Privacy Policy and Terms of Service URLs on the subscription screen.
- • Removed the Admin Panel Overview to avoid hardcoded zero metrics.
- • Disabled debug logs and sensitive data prints for production builds.
- • Fixed 'Recently Played' and 'Downloads' list display bug.
- • Updated Admin Panel Firebase dependency to v11.0.0.
- • Added documentation on unencrypted downloads and Database/Storage Security Rules.
- • Added Offline Listening documentation and requirements.
- • Updated RevenueCat API key placement instructions.
- • Corrected App Theme file path directions.
- • Detailed setup, signing, and customization instructions.
- • Aligned and detailed the version history changelog.
- • Initial release of Snory Kids Bedtime Stories App.
- • Flutter mobile application for iOS and Android.
- • React JS Admin panel for content management.
- • Firebase Authentication and Cloud Firestore integration.
- • In-App Subscriptions implementation.
Get This Product
$18Demo & Live Links
Note: Requires your own Firebase project (Authentication, Cloud Firestore, Firebase Storage, and Hosting/FCM) and a RevenueCat account for Google Play Billing and Apple App Store subscriptions, which may incur third-party usage costs beyond the template license. Admin-triggered FCM topic push campaigns also require deploying an external Cloud Function endpoint.
Need customization, white-labeling, or deployment support?