StayAI — Launch a Branded Lodge Reserving App in One Week
Three apps. One codebase. Zero internet hosting payments. StayAI is a
premium Flutter source-code product that permits you to launch a branded lodge
reserving and discovery platform on iPhone, Android, and the online — and begin
incomes Reserving.com affiliate commissions on day one.
Demo APK:
Download (Android)
| Admin preview:
https://stayai-be120.web.app
Demo admin login —
e-mail: [email protected],
password: 123456.
Learn-only really feel; please don’t retailer actual knowledge.
What you get
-
Buyer app — Flutter for iPhone + Android from one
codebase. -
Admin panel — Flutter Internet dashboard for content material
curation, consumer administration, push composer, and AI configuration. -
☁️ Cloud backend — Firebase mission with Auth, Firestore,
Cloud Features (Node 22), Storage, Distant Config, FCM, Analytics,
Crashlytics, App Test.
Lodge discovery
-
Curated featured-hotel rails on dwelling + map view with brand-tinted darkish
Google Maps model. -
Lodge element with picture gallery (Hero transition), AI evaluation abstract, “Plan
journey” date picker, favourite, share, Ebook on Reserving.com. - Favorites with user-created folders, swipe-to-delete + undo.
- Vacation spot autocomplete proxy by way of Cloud Features (no client-side tokens).
AI journey intelligence
-
Conversational AI Journey Assistant with streaming
responses, 20-message reminiscence, and context consciousness (present search,
favorites, dwelling metropolis). -
AI lodge suggestions — personalised 5-hotel ideas
ranked out of your search historical past. -
AI evaluation summaries — execs/cons/sentiment JSON, cached 7
days per lodge. -
Twin-provider failover: OpenAI (GPT-4o household) +
Google Gemini (2.5 Professional / Flash), switchable from Distant
Config with out redeploy. -
Constructed-in fee limits (Free 10/day · Professional 200/day) backed by per-user every day
counters.
Affiliate income
-
Reserving.com Affiliate Associate Program — free signup, as much as
40% of Reserving’s margin per accomplished keep. -
Travelpayouts (Hotellook) — free signup, 50–70% of community
fee. -
Hotelbeds APITUDE assist — optionally available, gated behind an admin
toggle for consumers with a contract. -
Affiliate clicks are server-only writes; admin can audit them within the
dashboard. -
FTC + Apple/Google compliant disclosure on first launch and in Settings →
About.
Admin panel
-
Dashboard with KPI tiles (customers, AI queries, affiliate clicks, estimated
commissions) and a recent-clicks desk. -
Full CRUD for featured inns (with reference worth for the price-drop
watcher), featured locations, and promotions. -
Person administration: paginated desk, e-mail search, function project, disable,
GDPR delete. -
AI console: per-feature system-prompt editor, mannequin picker, rate-limit
knobs, in-page playground. -
Push composer: title, physique, picture, phase, deep hyperlink, schedule, with a stay
broadcast log. -
App settings editor: currencies, languages, force-update flooring, upkeep
mode, Reserving affiliate ID.
Notifications
- Guide broadcasts by way of the admin push composer (instant or scheduled).
-
Computerized price-drop alerts each 6h — diffs the
saved-price snapshot towards the lodge’s present reference worth; fires FCM
on ≥ 8% drops. -
Computerized journey reminders at T-3, T-1, and T-0 for favorites
with check-in dates. -
Per-user opt-in (offers, worth drops, weblog, journey reminders) by way of Settings →
Notification preferences. -
FCM token registration handles APNs token race + simulator fallbacks; faucet
routing handles cold-start, background, and foreground.
Model customization
-
One-file rebrand — each shade, radius, and spacing unit reads from
tokens.dart. -
Launcher icons fan out to iOS + Android from one 1024×1024 supply PNG by way of
the bundledflutter_launcher_iconsconfig. -
Splash screens by way of
flutter_native_splashwith model shade +
transparent-background emblem. -
Bundled brand-asset generator (Dart software) emits placeholder monogram artwork if
you don’t have art work but. - Internet manifest, themes, and favicons rebrand alongside the apps.
Safety & compliance
-
Manufacturing-ready Firestore guidelines — server-only writes for affiliate clicks;
owner-only writes for favorites/searches/AI chats; admin-only writes for
featured content material + appSettings. -
App Test prepared (off by default for improvement; flip the flag earlier than
submission). -
App Retailer §5.1.1 compliant in-app account deletion (with a Cloud Perform
fanout throughout owned subcollections). - COPPA 13+ self-attested age gate on e-mail signup.
- FTC affiliate disclosure modal on first launch.
- Power-update gate + maintenance-mode gate that wrap the complete router.
-
Nameless-account merge — when visitor customers improve into an current
credential, their favorites/searches/AI chats are migrated to the actual
account earlier than the anon file is dropped.
In-app buy (Professional)
-
Working demo by way of MockPurchaseService — flips the consumer’s
aiPlaninstantly so you may present the improve movement and not using a
RevenueCat account. -
RevenueCat-ready —
RevenueCatPurchaseServiceis stubbed with the precise
purchases_flutterSDK calls; flip
kEnableRevenueCat = true, implement the three strategies, and
you’re stay. -
Steered pricing: $4.99/month for limitless AI queries (recovers OpenAI
price with margin).
Tech stack
- Cellular framework — Flutter 3.29+ on Dart 3.5+.
- State administration — Riverpod 2.5.
- Routing — GoRouter 14.
-
Fashions & serialization — Freezed 2.5 +
json_serializable 6.8. - Backend SDK — Firebase BoM 3.3.0.
- Cloud Features — TypeScript on Node 22.
-
AI suppliers — OpenAI + Google Gemini (twin supplier with
failover). -
Associates — Reserving.com Affiliate · Travelpayouts ·
Hotelbeds (optionally available). - Maps — google_maps_flutter 2.9.
-
Deep hyperlinks — app_links 6.3 (Common Hyperlinks + App Hyperlinks +
customizedstayai://scheme).
What’s included
- Full Flutter supply for each apps + 4 shared packages.
- Cloud Features supply — 18+ callables, scheduled crons, Firestore triggers.
- Firebase configuration: Firestore guidelines, composite indexes, Storage guidelines.
- Model-asset generator script.
- Privateness Coverage and Phrases of Service markdown templates.
- Deep-links setup information (AASA + assetlinks.json).
-
Documentation as standalone HTML (
index.html+
quick-start.html). - Six months of assist + lifetime updates.
⚡ Fast setup (5 steps)
melos bootstrap && melos run gen-
Create a Firebase mission; run
flutterfire configurein
apps/buyer/andapps/admin/. -
Fill
apps/buyer/.envandcapabilities/.envwith
your API keys + affiliate tokens. -
firebase deploy --only
firestore:guidelines,firestore:indexes,capabilities,storage:guidelines -
flutter run -d <gadget>inapps/buyer/;
promote your self to admin in Firestore.
Detailed walkthrough within the bundled quick-start.html.
Necessities
- Flutter 3.29+ and Dart 3.5+.
- Node 20 or 22 (Cloud Features).
-
Firebase mission on the Blaze plan (Cloud Features want Blaze; free tier
covers ~10K MAU). - Reserving.com Affiliate Associate Program account (free).
- Travelpayouts account (free).
- OpenAI or Google AI Studio API key.
- Apple Developer + Google Play Console accounts for retailer distribution.
- (Non-compulsory) RevenueCat account for actual in-app subscriptions.
⚠️ Third-party companies — required for full performance
StayAI is a Flutter supply product. It does not embrace
accounts, API keys, or internet hosting on any third-party platform. You’ll need to
register for the companies beneath — most are free, a couple of are paid on the
supplier’s tier — to unlock the corresponding options. The app gracefully
degrades when a service is unconfigured (e.g. AI options disabled, push not
delivered) however the itemizing’s full function set requires all of them.
-
Firebase (Google) — required. Free for the primary 50K
Firestore reads/day; Cloud Features want the Blaze pay-as-you-go plan.
Typical price at 10K MAU: underneath $5/month. -
Reserving.com Affiliate Associate Program — required for
affiliate income. Free signup. You earn fee on accomplished bookings
by way of your tracked deep hyperlinks. -
Travelpayouts — required for vacation spot autocomplete. Free
signup. -
Apple Developer Program — required for iOS App Retailer
distribution. $99/12 months, paid to Apple. Signal In with Apple is remitted by
Apple if you happen to supply Google Signal-In on iOS. -
Google Play Console — required for Android distribution.
One-time $25 to Google. -
OpenAI API or Google Gemini API — required
for AI options. Pay-per-token. Estimate: ~$0.20 per Professional consumer/month at
gpt-4o-mini charges. -
Google Maps Platform — required for the map view. Free tier
handles ~28K masses/month. -
Google Cloud / Firebase mission — required for deployment.
The Blaze plan is required for Cloud Features; you’ll not be charged
except you exceed the free tier limits. -
RevenueCat — optionally available, for actual in-app subscriptions. Free
as much as $10K MTR. Skip if you happen to solely want the bundled mock buy movement for a
demo. -
Hotelbeds APITUDE — optionally available. Contract required; not
bundled by default. -
Internet hosting area — optionally available however really helpful for Common
Hyperlinks / App Hyperlinks. Any HTTPS host works (Firebase Internet hosting is configured out
of the field).
StayAI is offered as supply code solely. We don’t present account
setup, API key procurement, App Retailer / Play Retailer evaluation mediation, or
internet hosting administration in your mission. Six months of assist is bundled for
code-level questions.
Assist
- Electronic mail: [email protected]
- WhatsApp: +855 967 413 911
- Hours: Mon–Fri, GMT+7. Response inside 48h.
-
Time period: 6 months from buy per CodeCanyon customary. Lifetime updates
no matter assist window.
Changelog
v1.0.0+1 — preliminary launch. Buyer app (auth, dwelling, search,
lodge element, favorites, AI assistant, paywall, settings, account deletion).
Admin panel (dashboard, content material CRUD, consumer administration, AI console, push
composer, app settings). Backend (18+ Cloud Features, scheduled crons,
Firestore guidelines + indexes). Submission gates (force-update, upkeep,
COPPA, FTC disclosure, GDPR delete). RevenueCat-ready IAP. iPhone-only iOS
goal.
Constructed on the most recent steady Flutter and Firebase SDKs. Engineered to move
App Retailer and Play Retailer evaluation on the primary submission. Clear structure,
idiomatic Riverpod, zero internet hosting price — able to rebrand and ship.

