Courses / Mobile Application Development (CDE-315) – BS CS 5th Semester
Week 15 Theory – Deployment on App Stores; Mobile Programming Languages
Week 15 – App Store Deployment and Mobile Programming Languages · 85 min read · 33 MCQs to check yourself
How to publish an app on Google Play Store (2026, step by step)
React Native vs Flutter vs Kotlin – which to choose?
(Optional, long) freeCodeCamp – Build and publish an Android app with Kotlin
Part A – Deployment on app stores
1. Publishing on Google Play – overview
Google Play Console (play.google.com/console) is the website where developers publish and manage Android apps.
Account
| Item | Detail |
|---|---|
| Fee | One-time USD 25 registration fee |
| Account types | Personal or Organisation (organisation needs a D-U-N-S number) |
| Verification | Identity verification (government ID), verified contact email and phone |
| New personal accounts (created after 13 Nov 2023) | Must run a closed test with at least 12 testers opted in for 14 consecutive days before applying for production access |
| Payments | A payments profile (Google Payments merchant account) to sell apps or in-app products; Google's service fee is typically 15 % on the first USD 1 million a year (and on subscriptions), 30 % above that |
Release process (step by step)
- Build a signed release Android App Bundle (.aab) –
Build → Generate Signed App Bundle / APK(week 14), with an increasedversionCodeand the requiredtargetSdk(API 36 from 31 Aug 2026). - Create the app in Play Console – default language, app name, app or game, free or paid (a free app cannot later become paid).
- Set up your app (Dashboard tasks):
- Privacy policy URL (required for most apps).
- App access – test login credentials if parts are behind a login.
- Ads declaration.
- Content rating questionnaire (IARC) → age ratings.
- Target audience and content (if children are targeted, Families policy applies).
- Data safety form – what data you collect/share, encryption, deletion.
- Government apps / financial features / health declarations where relevant.
- Store listing – title (max 30 characters), short description (80), full description (4000), app icon 512 × 512 PNG, feature graphic 1024 × 500, at least 2 phone screenshots (plus tablet ones for large-screen visibility), category, contact email, optional promo video (YouTube).
- Upload the AAB to a testing track → add testers → collect feedback, fix issues.
- Countries/regions and pricing.
- Create a production release → release notes ("What's new") → send for review. Review usually takes hours to a few days (longer for new accounts).
- Staged rollout (e.g. 10 % → 50 % → 100 %) to limit damage from bugs; you can halt a rollout.
- Monitor – Android vitals (crash rate, ANR rate), ratings and reviews (reply to users), statistics, pre-launch reports.
2. Testing tracks
| Track | Who can install | Use |
|---|---|---|
| Internal testing | Up to 100 testers you list; available within minutes | Quick team testing |
| Closed testing | Invited testers (email lists or Google Groups) | Beta testing; required for new personal accounts (12 testers, 14 days) |
| Open testing | Anyone can join from the Play listing | Public beta |
| Production | Everyone in chosen countries | Final release |
| Also: pre-launch report (Google tests your app on real devices automatically) and internal app sharing (share a build by link). |
3. Store policies and app quality
Google Play's Developer Program Policies forbid malware, deceptive behaviour, impersonation, copyright infringement, hate/violent content, misleading ads, and misuse of personal data. Important technical policies:
- Permissions: request only what is needed; SMS and Call Log permissions only for default handler apps; background location needs justification; all-files access is restricted.
- Target API level requirements every year.
- Data safety and privacy policy must be accurate.
- Account deletion – apps that let users create accounts must let them delete accounts (in-app and via a web link).
- Payments – digital goods inside the app must use Google Play Billing (with some regional alternatives).
- Families policy for children's apps. Violations lead to app rejection, removal or account termination.
App Store Optimisation (ASO)
Improving visibility in store search: clear title with keywords, attractive icon and screenshots, good short description, localisation (e.g. Urdu listing), high ratings and replying to reviews, regular updates, small app size, low crash rate.
4. Apple App Store and other stores
Apple App Store
| Step | Detail |
|---|---|
| Account | Apple Developer Program – USD 99 per year (individual or organisation) |
| Tools | Xcode on a Mac; App Store Connect website |
| Signing | Certificates, App IDs (bundle identifier), provisioning profiles |
| Build | Xcode → Product → Archive → upload IPA to App Store Connect |
| Testing | TestFlight – internal (up to 100) and external testers (up to 10,000, needs beta review) |
| Listing | Name, subtitle, keywords, description, screenshots for required iPhone/iPad sizes, privacy "nutrition labels", age rating, support URL |
| Review | App Review against the App Store Review Guidelines – usually 24–48 hours; stricter than Google (design quality, payments, privacy) |
| Payments | In-App Purchase required for digital goods; commission 15–30 % |
Other Android stores and distribution
| Store / method | Notes |
|---|---|
| Samsung Galaxy Store | Pre-installed on Samsung phones |
| Huawei AppGallery | For Huawei phones without Google services (HarmonyOS) |
| Amazon Appstore | Fire tablets |
| Xiaomi GetApps, Oppo/Vivo stores | Popular in South Asia |
| F-Droid | Free and open-source apps |
| Direct APK / website | Your own distribution; users must allow "install unknown apps"; from 2026 developer verification applies on certified devices (first in Brazil, Indonesia, Singapore, Thailand; globally 2027) |
| Managed Google Play | Private enterprise apps for an organisation |
Google Play vs Apple App Store
| Google Play | Apple App Store | |
|---|---|---|
| Fee | USD 25 once | USD 99 per year |
| Package | AAB (generates APKs) | IPA |
| Review | Mostly automated + human, hours–days | Human review, ~1–2 days, stricter |
| Beta testing | Internal/closed/open tracks | TestFlight |
| Machine needed | Any OS | Mac with Xcode |
| Sideloading | Possible (with verification rules) | Restricted (EU alternative marketplaces) |
Part B – Mobile programming languages
5. Native languages
| Language | Platform | Year / by | Key points |
|---|---|---|---|
| Kotlin | Android (also server, multiplatform) | JetBrains, 2011; Google-preferred since 2019 | Concise, null safety (String?), data classes, extension functions, coroutines, 100 % interoperable with Java, used by Jetpack Compose |
| Java | Android (original language) | Sun/Oracle, 1995 | Object-oriented, huge ecosystem, verbose; still supported; many legacy apps and university courses |
| Swift | iOS, macOS, watchOS… | Apple, 2014 | Safe, fast, optionals, protocols, value types, async/await, SwiftUI |
| Objective-C | iOS/macOS (legacy) | 1984; Apple's main language before Swift | C + Smalltalk-style messaging, [object method], manual/ARC memory |
| C / C++ | Both (Android NDK, iOS) | — | Performance-critical parts: games, audio/video, ML engines |
| ArkTS | HarmonyOS | Huawei | TypeScript-based |
Kotlin vs Java example
// Kotlin
data class Student(val name: String, val cgpa: Double)
val top = students.filter { it.cgpa >= 3.5 }.map { it.name }
var email: String? = null // nullable; email?.length is safe
// Java
public class Student {
private final String name; private final double cgpa;
public Student(String name, double cgpa) { this.name = name; this.cgpa = cgpa; }
public String getName() { return name; } public double getCgpa() { return cgpa; }
}
6. Cross-platform languages and frameworks
| Framework | Language | Rendering approach | Notable apps |
|---|---|---|---|
| Flutter (Google, 2017) | Dart | Draws its own widgets with its engine (Impeller/Skia); hot reload | Google Pay, BMW, many startups |
| React Native (Meta, 2015) | JavaScript / TypeScript (React) | Maps components to real native views (new architecture: JSI, Fabric) | Facebook, Instagram parts, Discord, Shopify |
| .NET MAUI (Microsoft; Xamarin ended support May 2024) | C# + XAML | Native controls | Enterprise apps |
| Kotlin Multiplatform + Compose Multiplatform (JetBrains/Google) | Kotlin | Shares logic; optional shared Compose UI; native UI possible | Netflix, McDonald's (shared logic) |
| Ionic + Capacitor / Cordova | HTML, CSS, JavaScript (Angular/React/Vue) | Hybrid – WebView | Many business apps |
| NativeScript | JavaScript/TypeScript | Native UI | — |
| Unity | C# | Game engine | Mobile games (PUBG Mobile uses Unreal – C++) |
Choosing a language/framework
| Choose | When |
|---|---|
| Kotlin (native Android) | Android-first (Pakistan market >90 % Android), best performance, newest APIs, hardware features |
| Swift (native iOS) | iOS-only or premium iOS experience |
| Flutter / React Native / KMP | Both platforms with one team and budget; fast development |
| Ionic/Capacitor (web) | Existing web team, content apps |
| Unity / Unreal | Games |
| PWA | Simple content, no store needed |
Factors: target users and platforms, performance, access to device features, team skills, budget and time, long-term maintenance, community and libraries.
Comparison of native vs cross-platform development
| Native (Kotlin / Swift) | Cross-platform (Flutter / React Native) | |
|---|---|---|
| Code base | Two | One (mostly) |
| Performance | Best | Near-native |
| Look and feel | Exactly native | Very close (Flutter draws its own) |
| New OS features | Day one | After framework update or plugin |
| App size | Smaller | Larger (engine) |
| Team | Two skill sets | One |
| Cost | Higher | Lower |
Short and long questions
1. Describe the complete process of deploying an Android application on Google Play Store, including account setup, app preparation, store listing, policies, testing tracks, review and post-release monitoring. Compare it briefly with publishing on the Apple App Store.
Model answer
Account: register on Google Play Console with a one-time USD 25 fee as a personal or organisation account and complete identity verification; set up a payments profile to sell apps or in-app products.
Preparation: build a signed release Android App Bundle with a unique permanent applicationId, an incremented versionCode, the required targetSdk (API 36 from 31 August 2026), R8 optimisation and Play App Signing.
App setup: create the app (name, default language, app/game, free/paid – a free app cannot become paid), then complete the privacy policy, app access instructions, ads declaration, content rating questionnaire (IARC), target audience, data safety form and any sensitive-permission declarations.
Store listing: title (30 characters), short (80) and full (4000) descriptions, 512×512 icon, 1024×500 feature graphic, phone/tablet screenshots, category, contact details, optional video; localise for target users and apply ASO.
Testing: internal testing (≤100 testers), closed testing (required for new personal accounts: at least 12 testers opted in for 14 consecutive days before production access), open testing, plus pre-launch reports on real devices.
Release and review: choose countries and price, create the production release with release notes and submit; Google reviews for policy compliance (malware, deceptive behaviour, permissions, data safety, payments via Play Billing, account deletion). Use staged rollout.
After release: monitor Android vitals (crash and ANR rates), ratings and reviews (reply), statistics; publish updates with higher versionCodes and keep up with annual target API requirements.
Apple comparison: USD 99/year Apple Developer Program; build and archive in Xcode on a Mac; certificates and provisioning profiles; upload IPA to App Store Connect; TestFlight for beta; stricter human App Review (about 1–2 days); privacy nutrition labels; In-App Purchase for digital goods.
2. What is a staged rollout?
Model answer
Releasing an update to a percentage of users (e.g. 10 %) first and increasing gradually to 100 %, so that crashes or bugs can be detected and the rollout halted before all users are affected.
3. List the steps to publish an Android app on Google Play.
Model answer
(1) Create a Play Console developer account (USD 25, identity verification). (2) Build a signed release AAB with a new versionCode and the required targetSdk. (3) Create the app in Play Console (name, language, free/paid). (4) Complete app setup: privacy policy, app access, ads, content rating, target audience, data safety. (5) Prepare the store listing (title, descriptions, 512×512 icon, 1024×500 feature graphic, screenshots, category). (6) Upload to a testing track (new personal accounts: closed test with 12 testers for 14 days). (7) Choose countries and pricing, create a production release and submit for review. (8) Use staged rollout and monitor vitals and reviews.
4. Name the testing tracks available in Google Play Console.
Model answer
Internal testing (up to 100 listed testers, fast), closed testing (invited testers via email lists or Google Groups – required for new personal accounts), open testing (anyone can join a public beta) and production (all users), plus internal app sharing and pre-launch reports.
5. Compare Google Play and the Apple App Store.
Model answer
Google Play: USD 25 one-time fee, AAB uploads, testing tracks, mostly automated review in hours to days, any OS can build, sideloading possible. Apple App Store: USD 99 per year, Xcode on a Mac, IPA uploaded to App Store Connect, TestFlight for beta testing, stricter human App Review, privacy nutrition labels, sideloading restricted.
6. Discuss the programming languages used for mobile application development. Compare Kotlin, Java, Swift and Objective-C, and explain cross-platform options (Flutter/Dart, React Native/JavaScript, .NET MAUI/C, Kotlin Multiplatform). How would you choose a language for a new project?
Model answer
Native Android: Java (1995) was Android's original language – object-oriented, huge ecosystem, but verbose and prone to NullPointerExceptions. Kotlin (JetBrains, 2011; Google-preferred since 2019) runs on the JVM/ART, is concise, has null safety, data classes, extension functions, lambdas and coroutines, is fully interoperable with Java and is required for Jetpack Compose. C/C++ via the NDK serve performance-critical code.
Native iOS: Objective-C (1984) – a superset of C with Smalltalk-style messages, used for decades by Apple; Swift (2014) – safe, fast, modern (optionals, value types, protocols, async/await), used with UIKit and SwiftUI and interoperable with Objective-C.
Cross-platform: Flutter (Google) uses Dart and draws its own widgets for consistent UI and hot reload; React Native (Meta) uses JavaScript/TypeScript and React to drive native components; .NET MAUI (Microsoft, successor of Xamarin) uses C# and XAML; Kotlin Multiplatform shares Kotlin logic (and optionally Compose UI) with native apps; Ionic/Capacitor wraps HTML/CSS/JS in a WebView; Unity (C#) and Unreal (C++) for games.
Comparison: native gives best performance, full API access and smallest size but needs two code bases; cross-platform gives one team and faster delivery with near-native performance but larger apps and dependence on framework updates.
Choosing: consider target users and platforms (Pakistan is over 90 % Android, so Kotlin-native is a strong default), performance and hardware needs, team skills, budget and deadline, long-term maintenance and library support. Examples: banking or camera-heavy app – native Kotlin/Swift; startup MVP for both platforms – Flutter or React Native; existing Kotlin team adding iOS – Kotlin Multiplatform; game – Unity.
7. Give four advantages of Kotlin over Java for Android.
Model answer
(1) Concise code (data classes, type inference). (2) Null safety reduces NullPointerExceptions. (3) Coroutines for simple asynchronous programming. (4) Extension functions and modern features, full Java interoperability and first-class support in Jetpack Compose and Google libraries.
8. Name five cross-platform frameworks with their languages.
Model answer
Flutter – Dart; React Native – JavaScript/TypeScript; .NET MAUI – C#/XAML; Kotlin Multiplatform – Kotlin; Ionic/Capacitor – HTML/CSS/JavaScript (also Unity – C# for games).
This lesson ends with a quiz of 33 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: Week 14 Lab 14 – Display a Location on Google Maps Using Coordinates · Next: Week 15 Lab 15 – Display the Device's Current Location Coordinates
All lessons in Mobile Application Development (CDE-315) – BS CS 5th Semester