Website & App Building · IT & Software

Build a cross-platform mobile app (Android and iOS) from idea to store

A long prompt that walks an AI through building a complete Flutter or React Native app: screens, backend, auth, push notifications, offline mode, payments and publishing to the stores.

Your prompt is ready 8 brackets to fill
You are a senior mobile developer who has shipped apps to the Play Store and App Store. Build a complete cross-platform mobile app with me, phase by phase, ready for store release.

## The app
- App name and one-line purpose: [APP NAME], [WHAT IT DOES]
- Who uses it: [USERS]
- The 3 to 5 core screens or actions: [LIST]
- Framework: [Flutter / React Native with Expo / "you choose"]
- Backend: [Firebase / Supabase / my own API in STACK / "you choose"]
- Money: [free / ads / in-app purchases / subscription]

## Features
1. Project setup: folder structure by feature, state management ([Riverpod / Bloc / Redux / Zustand]), navigation, environment configs for dev and production, app icons and splash screen.
2. Onboarding screens, sign-up and sign-in (email, phone OTP, Google, Apple), forgot password, profile editing, account deletion (required by stores).
3. The core screens listed above, each with loading, empty and error states, pull to refresh and pagination.
4. Offline support: cache data locally and sync when the connection returns.
5. Push notifications (FCM / APNs) with deep links that open the right screen; notification settings.
6. Media: camera and gallery upload with compression; permissions asked only when needed with a reason.
7. Payments: in-app purchases or subscriptions through the store billing, with server-side receipt validation.
8. Settings: dark mode, language, notifications, privacy policy, terms, contact support, rate the app.
9. Analytics and crash reporting.
10. Admin panel (web) to manage users and content, if the app needs one.
11. Store release: build signing, app store screenshots list, store listing text, privacy labels / data safety form answers, and a release checklist.

## Mobile rules
- Smooth on mid-range Android phones: 60fps scrolling, images cached and resized, lists virtualised.
- Secure storage for tokens (Keychain / Keystore), certificate pinning if the data is sensitive, no secrets in the app bundle.
- Works on small phones and tablets, supports system font scaling and screen readers.
- Unit tests for logic and at least one integration test for the main flow.

## Quality rules (apply to every phase)
- Security: prepared statements or an ORM for every query, output escaping, CSRF tokens on every form, passwords hashed with bcrypt or Argon2, rate-limited login, role checks on the server for every admin route, file uploads checked by type and size and stored outside the web root or with random names, secrets only in an .env file.
- Validation: validate every input on the server (and also in the browser for speed). Show clear error messages next to the field that is wrong, and keep what the user already typed.
- Performance: pagination on every list, database indexes on every column used for search, filter or join, lazy-loaded and resized images (WebP), caching for pages that rarely change, no N+1 queries.
- Responsive and accessible: mobile first, works from 360px to wide desktop, proper labels on every form field, keyboard navigation, visible focus, colour contrast of at least 4.5:1, alt text on images.
- SEO: clean URLs, a unique title and meta description per page, canonical tags, Open Graph tags, schema.org JSON-LD where it applies, an XML sitemap and robots.txt.
- Code: small functions with clear names, one responsibility per file, comments only where the reason is not obvious, consistent formatting, no dead code.
- Errors: friendly error pages (404, 500), server errors written to a log, never shown to visitors.
- Deliver with: a README (install steps, .env example, how to create the first admin), database migrations and seed data with realistic sample content, and a deployment checklist.

## How to work with me
Do not write code yet. First reply with:
1. A short summary of what you understood, and anything in the brief that is unclear or contradictory (ask me, do not guess).
2. The final tech stack, with a one-line reason for each choice.
3. The folder and file structure.
4. The full database schema: every table, column, type, index and relation.
5. Every page or screen, and every API endpoint (method, path, who can call it, what it returns).
6. The build plan as numbered phases, each one small enough to finish and test on its own.

Wait for me to reply "go". Then build one phase at a time:
- For every file, give the full path and the complete code. Never write "...", "rest of the code stays the same" or TODO.
- After each phase, tell me how to run it, what to click to test it, and what is still missing. Then wait for me to reply "next".
- If you change a file you already gave me, give the whole updated file again.
Open in ChatGPT Claude Perplexity

How to use this prompt

  1. Copy the prompt. Press Copy prompt and the full text goes to your clipboard.
  2. Fill the brackets. Use the form above, or replace [APP NAME], [WHAT IT DOES], [USERS], [LIST], [Flutter / React Native with Expo / "you choose"], [Firebase / Supabase / my own API in STACK / "you choose"], [free / ads / in-app purchases / subscription], [Riverpod / Bloc / Redux / Zustand] with your own details.
  3. Paste and send. Paste it into ChatGPT, Claude, Gemini and DeepSeek and send. Ask follow-up questions to refine the answer.

Why use this Build a cross-platform mobile app (Android and iOS) from idea to store prompt?

This build a cross-platform mobile app (android and ios) from idea to store prompt is written for a software company that ships a SaaS product. It tells the assistant who the answer is for (engineering leads, developers and IT buyers) and the limits it must respect: uptime, security and data-protection requirements. That context is what turns a generic reply into one an IT & Software team can use straight away.

Most people type a single line and get a generic answer back. This prompt gives the assistant the role, the context and the structure it needs, so the first answer is already close to what you would hand to your team. Because it is written for IT & Software, it keeps the focus on what that industry measures: deployment frequency and uptime.

How to get the best answer

  1. Be specific in the brackets: real names, numbers and dates give a far better answer than placeholders.
  2. Paste real material: where the prompt asks for notes, data or text, paste the actual content rather than a summary.
  3. Refine in the same chat: ask "make it shorter", "turn it into a table" or "add more detail on step 2".
  4. Check the result: review it against what you know about deployment frequency and uptime before you share it.

FAQ

Frequently asked questions

Which AI assistant works best with this Build a cross-platform mobile app (Android and iOS) from idea to store prompt?

It works in any chat assistant. It suits ChatGPT, Claude, Gemini and DeepSeek best. Paste it in, send it, and ask follow-up questions in the same chat.

What do I need to replace before sending it?

Replace the 8 highlighted brackets – [APP NAME], [WHAT IT DOES], [USERS], [LIST], [Flutter / React Native with Expo / "you choose"], [Firebase / Supabase / my own API in STACK / "you choose"], [free / ads / in-app purchases / subscription], [Riverpod / Bloc / Redux / Zustand] – with your own details. The more specific you are, the better the answer.

Is this prompt only for IT & Software?

This version is written for a software company that ships a SaaS product. The same prompt is also available for 0 other industries, listed on this page.

Is it free to use?

Yes. Copy it as often as you like and use it in your own work. No sign-up is needed.

Can I trust the answer?

Treat it as a strong first draft. Check facts and figures yourself, especially anything with legal, financial, medical or safety consequences.

Keep exploring

Browse more IT & Software prompts