Kazhugu
← Study

Study · 11 layers ·

Mobile apps, from idea to store and after

A mobile app is a program that lives on a phone. Making one is much more than writing code. Someone has to decide what the app should do, design screens that feel right on iPhone and Android, build a server it can talk to, keep people’s data safe, prove to Apple and Google who made it, pass their reviews, and then keep it working as phones and rules change every year. This page walks through each of those layers from the bottom up, in plain words, so a company, a developer, an employee or a client can see where their part fits.

01

How phones run apps

iOS and Android, sandboxes and permissions.

Almost every phone runs one of two operating systems. iOS is made by Apple and runs only on iPhones. Android is led by Google and runs on phones from many makers, such as Samsung, Xiaomi and Google itself. An operating system is the base program that controls the screen, the battery, the camera and everything else, and lets apps use them in a safe way.

Each app lives in its own sandbox. A sandbox is a walled-off space: the app can read and write its own files, but it cannot look inside other apps or change the system. On Android, every app even gets its own user account inside the phone, so the system can keep apps apart. If one app is badly written or harmful, the wall stops it from reaching the rest of the phone.

To get past the wall, an app must ask. Using the camera, the microphone, your location, your contacts or photos needs a permission, and the phone shows you a pop-up so you can say yes or no. Good apps ask at the moment the feature is needed and explain why. You can take a permission back later in the settings.

The phone also controls when an app runs. When you switch away, the app is paused, and the system may close it to save battery and memory. Apps must be built to save their work and come back cleanly, which is called handling the app lifecycle.

  • Two platforms matter almost everywhere: iOS (Apple) and Android (Google and many phone makers).
  • On iPhone, apps normally come from Apple’s App Store; Android also allows other stores and direct installs.
  • The sandbox keeps each app’s data apart from other apps.
  • Permissions are asked at run time, and the person can refuse or remove them later.
  • The system can pause or close an app at any time, so it must save its state.
02

Native or cross-platform

Swift, Kotlin, Flutter, React Native, and how to choose.

A native app is written in the language each platform was made for. For iPhone that is Swift, usually with SwiftUI for the screens. For Android it is Kotlin, usually with Jetpack Compose. Native apps get every new phone feature first and feel exactly at home, but you build and look after two separate apps.

A cross-platform app is written once and runs on both. Flutter, from Google, uses the Dart language and draws every pixel of the screen itself, so the app looks the same everywhere. React Native, started at Meta, uses JavaScript and React and turns your screens into the phone’s own buttons and lists. Kotlin Multiplatform is a middle path: you share the logic, and can keep native screens.

To choose, ask a few plain questions. Does the team already know one of these? Does the app lean hard on special phone features, like advanced camera, health data or widgets? Do you need both platforms on day one with a small team? A small team that must ship on both often picks a cross-platform tool; an app that lives on deep phone features often goes native. Any of them can make a good app, and a bad app can be written in any of them.

  • Native: Swift and SwiftUI for iOS, Kotlin and Jetpack Compose for Android.
  • Cross-platform: one codebase for both, such as Flutter or React Native.
  • Cross-platform apps can still call native code when they need a phone feature.
  • Choose by team skills, the phone features you need, and how many apps you can maintain.
03

App design

Apple’s and Google’s design rules, navigation and accessibility.

Apple and Google each publish a design guide. Apple’s is the Human Interface Guidelines. Google’s is Material Design. They explain how buttons, lists, menus and gestures are meant to look and behave on each system. Following them makes your app feel familiar, because people already know how their phone works.

Navigation is how people move around the app. Common patterns are a bar of tabs along the bottom for the main sections, a stack where each new screen slides in and a back action returns you, and sheets that slide up for a short task. Pick a simple pattern and use it the same way everywhere. The back gesture and back button work differently on iPhone and Android, so test both.

Accessibility means everyone can use the app, including people who are blind, have low vision, cannot use their hands well or are hard of hearing. Both systems have screen readers, VoiceOver on iPhone and TalkBack on Android, that read the screen aloud. Your app helps them by giving every button a clear label, letting text grow when the person picks a larger size, keeping enough contrast between text and background, and making touch targets big enough to hit.

  • Read the Human Interface Guidelines for iPhone and Material Design for Android.
  • Keep the main sections one tap away, often in a bottom tab bar.
  • Label every icon button so a screen reader can say what it does.
  • Support larger text sizes and dark mode.
  • Test with VoiceOver and TalkBack turned on, not just by looking.
04

Prototyping and user testing

Try the idea with real people before and while you build.

A prototype is a fake version of the app that looks real enough to try. In a design tool like Figma you draw the screens and link them, so tapping a button opens the next screen. You can put it on a phone and hand it to someone in minutes, long before any code exists. Changing a drawing is cheap; changing a finished app is not.

User testing means watching real people try to do real tasks. You give them a goal, like "book a table for Friday", and stay quiet while they try. Where they hesitate or tap the wrong thing, the design is unclear. A few people, tested often, usually show the biggest problems.

Once there is a real build, both stores let you hand it to testers before the public sees it. Apple’s TestFlight lets you invite your own team and up to 10,000 outside testers. Google Play has internal, closed and open testing tracks. New personal Google Play accounts must run a closed test with at least 12 testers for at least 14 days before they can publish to everyone.

  • Prototype in a design tool first; test the flow, not just the looks.
  • Watch people use it, and do not explain the screen while they try.
  • Use TestFlight on iPhone and testing tracks on Google Play for real builds.
  • Check the Google Play testing rule for new personal accounts early, as it adds at least two weeks.
05

The back end

APIs, logging in, push notifications and where the server lives.

Most apps need a server somewhere: a computer on the internet that stores shared data, like orders, messages or accounts. The app talks to it through an API, which is a fixed list of requests the server understands, such as "give me my orders" or "save this photo". The phone should never be the only place important data lives, because phones get lost and reset.

Authentication means proving who you are, usually with an email and code, a password, or "Sign in with Apple" or Google. Behind these sits a standard called OAuth. For apps, the safe way is to open the system’s own login page in a browser view and get a short-lived token back, which the app then sends with each request. The app should never keep the person’s password.

Push notifications are messages the server sends to the phone even when the app is closed. They do not go straight to the phone: they pass through Apple’s Push Notification service for iPhones and Firebase Cloud Messaging for Android. The person has to agree to receive them, and too many will make them turn notifications off.

You can rent a ready-made back end, like Firebase or Supabase, which gives you a database, logins, file storage and functions with little setup. Or you can run your own server and database, which gives you more control and can cost less at scale but means more work. Many teams start with a service and move parts to their own server later.

  • The app is a window; the server keeps the truth.
  • Log people in with a standard flow (OAuth) and short-lived tokens.
  • Push goes through Apple’s and Google’s push services, never directly.
  • Firebase and Supabase are ready-made options; your own server is the other path.
06

Security and privacy

OWASP lists, safe storage and the data laws: DPDP and GDPR.

Anyone can download your app and take it apart. So nothing secret should live inside it: no master passwords, no private API keys. Secrets belong on the server. On the phone, small secrets like login tokens go in the system’s safe storage, the Keychain on iPhone and the Keystore on Android, not in plain files.

OWASP, a non-profit security group, publishes the Mobile Top 10: the ten most common risk areas, such as misused credentials, insecure storage, weak communication and poor privacy controls. It also publishes MASVS, a checklist of what a secure app should do, grouped into storage, cryptography, authentication, network, platform, code, resilience and privacy. Teams use MASVS as a list to build against and to test.

Privacy is also the law. In India, the Digital Personal Data Protection Act, 2023 says you must get clear consent, use data only for the stated purpose, protect it, and tell people if it leaks. Its Rules were notified in November 2025 with an eighteen-month period to comply, and the penalties go up to 250 crore rupees for failing to take reasonable security safeguards. In Europe, the GDPR sets similar duties for anyone handling the data of people in the EU.

Collect only what the app truly needs, say plainly what you collect and why in a privacy policy, and know which outside code (analytics, ads, crash tools) also collects data, because the stores make you declare that too.

  • Never ship secret keys inside the app.
  • Use the Keychain (iOS) and Keystore (Android) for tokens.
  • Use the OWASP Mobile Top 10 to spot risks and MASVS as a checklist.
  • India’s DPDP Act and Europe’s GDPR both require consent, purpose limits and breach care.
  • Third-party SDKs count as your data collection.
07

Building and signing

Developer accounts, certificates and keystores.

Before you can publish, you need a developer account with each store. Apple’s Developer Program costs 99 US dollars a year. Google Play asks for a one-time registration fee and checks who you are. A company should open the accounts in its own name, not a freelancer’s, so it always owns its apps.

Signing is how the phone knows an app really came from you and was not changed. It works like a wax seal. On Apple, you sign with a certificate issued by Apple, plus a provisioning profile that says which app and which devices it is for. Xcode can handle most of this for you.

On Android, you sign with a key kept in a file called a keystore. With Play App Signing, Google keeps the real app signing key safe, and you sign uploads with a separate upload key. If you lose the upload key, it can be reset; if you managed the signing key yourself and lost it, you could no longer update the app. Store keys and passwords in a password manager or secret store, never in the code.

The finished file you upload is an IPA for Apple and an Android App Bundle (AAB) for Google Play. Google then builds smaller downloads tuned to each phone.

  • Open store accounts in the company’s own name.
  • Apple: certificate plus provisioning profile. Android: keystore plus Play App Signing.
  • Back up signing keys and passwords somewhere safe and shared with the right people.
  • Upload an Android App Bundle (AAB) to Google Play.
08

Getting into the stores

Review rules, privacy forms, listings and app store optimisation.

Apple checks every app and update by hand against its App Store Review Guidelines. Google Play checks apps against its Developer Program Policies, partly by machines and partly by people. Common reasons for rejection are crashes, broken links, missing login details for the reviewer, unclear payments, and privacy problems. Read the rules before you design, not the night before launch.

Both stores make you describe your data use. Apple asks for App Privacy details, shown on the store page as a privacy label. Google asks every app to fill in the Data safety form, even if it collects nothing. Both need a link to a privacy policy, and Apple also wants that link inside the app.

The store listing is your shop window: the name, the short description, the icon, screenshots and sometimes a preview video. Each store has exact size rules for screenshots. App store optimisation, or ASO, means making that page easy to find in store search and convincing once found: clear words people would actually search for, screenshots that show the real benefit, and good ratings.

  • Give the reviewer a working test login and notes on anything unusual.
  • Fill in Apple’s App Privacy details and Google’s Data safety form honestly.
  • Have a public privacy policy URL before you submit.
  • Screenshots should show what the app does, in the sizes each store asks for.
09

Release management

Versions, staged rollouts and automated builds.

Every release has a version that people see, like 2.3.0, and a build number that only goes up, used by the stores to tell builds apart. On Android these are versionName and versionCode. A common habit is semantic versioning: the first number for big changes, the second for new features, the third for fixes.

You do not have to give a new version to everyone at once. Google Play lets you roll out to a percentage of users and halt the rollout if something breaks. Apple’s phased release spreads automatic updates over seven days, and you can pause it for up to 30 days. Starting small means a bad bug hurts a few people, not all of them.

Building, signing and uploading by hand is slow and easy to get wrong. CI/CD (continuous integration and continuous delivery) means a computer does it every time code changes: it runs the tests, builds the app, signs it with keys kept in a secret store, and sends it to testers or the store. Fastlane is a popular free tool for the steps; Codemagic, Xcode Cloud and GitHub Actions are services that run them.

  • The build number must go up with every upload.
  • Release to a small share of users first, then widen.
  • Automate builds and uploads so any team member gets the same result.
  • Keep signing keys in the CI secret store, not in the repository.
10

After launch

Crashes, analytics, reviews, updates and yearly OS changes.

Launch is the start, not the end. A crash reporter catches every crash on real phones and sends you the details: which screen, which phone, which line of code. Tools like Crashlytics and Sentry do this. Android vitals in Play Console and the crash reports in App Store Connect also show how stable the app is.

Analytics tell you what people actually do: which screens they open, where they give up. Only collect what helps you decide something, and declare it in the store privacy forms. Reviews are the other signal. Both stores let you reply to reviews; a calm, helpful reply often turns a one-star review around. Both also offer an in-app prompt to ask for a rating, and they limit how often it can show.

Every year Apple and Google release a new version of their systems, and the stores raise the rules. Google Play sets a minimum target version: from 31 August 2026, new apps and updates must target Android 16 (API level 36). Apple regularly requires apps to be built with newer Xcode versions. An app that is never updated will eventually be blocked from updating, or break.

If your app lets people create an account, both stores require a way to delete it. Apple wants the deletion to start inside the app. Google wants an in-app path and also a web link, so people who already removed the app can still ask.

  • Set up crash reporting before launch, not after the first angry review.
  • Reply to reviews; fix what several people mention.
  • Plan a yearly update for the new iOS and Android versions.
  • Offer account deletion in the app (both stores) and on the web (Google Play).
11

AI in mobile work

On-device or cloud AI, and AI help with the coding.

AI can live in two places. On-device AI runs on the phone itself: it works offline, answers fast, and the data never leaves the phone, but the models must be small. Apple offers Core ML and, on recent systems, a Foundation Models framework that gives apps an on-device language model. Google offers Gemini Nano on supported Android phones, and LiteRT through Google AI Edge for running your own models.

Cloud AI runs on a server: the app sends a request and gets an answer back. It can use much larger models, but it needs a connection, costs money per use, and sends data off the phone, which you must declare and protect. Never put a cloud AI key inside the app; send requests through your own server.

AI also helps the people building the app. Coding assistants can write screens, tests and build scripts, explain errors and review changes. Treat their output like a new team member’s work: read it, run the tests, and check it against the platform rules and the security list, because they can be confidently wrong.

  • On-device: private, offline, fast, but smaller models.
  • Cloud: bigger models, but cost, delay and data leaving the phone.
  • Route cloud AI calls through your own server, never with a key in the app.
  • Review every AI-written change before it ships.
→

Paths through it

What each kind of reader needs, step by step.

  • Path · Mobile apps

    A company commissioning an app

    Know what to decide, own and check so the app is yours and lasts.

    1. Write down the one main job the app does for its users, and who those users are.
    2. Decide iPhone, Android or both, and ask the builder why they suggest native or cross-platform.
    3. Open the Apple and Google developer accounts in the company’s name and add the builder as a team member.
    4. Approve a clickable prototype and see it tested with a few real users before code starts.
    5. Agree who runs the server, where the data is stored, and how DPDP and GDPR duties are met.
    6. Make sure signing keys, passwords and code repositories are handed over to you, not kept only by the builder.
    7. Budget for life after launch: crash monitoring, support, and at least one update a year.
  • Path · Mobile apps

    A developer shipping their first app

    Get from a working build to a live store listing without surprises.

    1. Pick a stack you already know well enough to finish; read the design guide for each platform.
    2. Build the smallest useful version, with logins and data kept on a proper back end.
    3. Store tokens in the Keychain or Keystore and keep every secret key on the server.
    4. Set up signing: certificates on Apple, a keystore and Play App Signing on Android, all backed up.
    5. Send builds to testers with TestFlight and a closed Google Play test; start the 14-day test early if your Play account is a new personal one.
    6. Write the privacy policy, fill in App Privacy and Data safety, prepare screenshots and the listing.
    7. Submit, answer any review notes, then release with a phased or staged rollout and crash reporting switched on.
  • Path · Mobile apps

    An employee running the app after launch

    Keep users happy and the app healthy, week to week.

    1. Check the crash reporter and store vitals every morning; raise any new top crash at once.
    2. Read and reply to new reviews politely, and log repeated complaints as tasks.
    3. Answer support messages, including account deletion and data requests, within the time the law expects.
    4. For each release, check the notes, watch the first percentage of the rollout, and halt it if crashes rise.
    5. Track store rule changes and the yearly iOS and Android releases, and plan the update before deadlines.
    6. Keep the store screenshots, description and privacy answers in step with what the app really does.
  • Path · Mobile apps

    A client approving designs and releases

    Know what to look at and what to ask before saying yes.

    1. Try the prototype on your own phone and do the main task without help.
    2. Check that it feels at home on both iPhone and Android, not just copied from one to the other.
    3. Ask how it works with large text and a screen reader turned on.
    4. Before a release, try the TestFlight or test-track build and read the list of changes.
    5. Approve the store text, screenshots and privacy answers, as they speak for your brand and are checked by the stores.
    6. Agree the rollout plan and who can stop it if something goes wrong.
Start a project