Mobile App Developer (Android and iOS) interview questions and answers
Mobile interviews cover the platform you build for (Kotlin for Android, Swift for iOS, or cross-platform tools like Flutter and React Native), app lifecycle, performance, offline behaviour and publishing to the stores.
Skills and knowledge
Explain the Android activity lifecycle (or the iOS view controller lifecycle).
Sample answer: On Android an activity moves through onCreate, onStart, onResume, then onPause, onStop and onDestroy as the user leaves; configuration changes such as rotation recreate it, so state must be saved, often in a ViewModel. On iOS, viewDidLoad runs once, then viewWillAppear, viewDidAppear, viewWillDisappear and viewDidDisappear each time the screen shows or hides.
How do you make an app work offline?
Sample answer: Store data locally (Room or SQLite on Android, Core Data or SwiftData on iOS), show cached data first and refresh in the background, queue user actions while offline and send them when the connection returns, and resolve conflicts with clear rules such as last change wins or a merge.
How do you find and fix memory leaks?
Sample answer: Use Android Studio's profiler with LeakCanary, or Xcode Instruments on iOS. Common causes are long-lived objects holding a reference to a screen, listeners never removed and, on iOS, strong reference cycles in closures, fixed with weak or unowned captures.
Native or cross-platform: how would you choose?
Sample answer: Cross-platform (Flutter, React Native) shares most code and suits content and form-heavy apps with one team. Native (Kotlin, Swift) gives the best performance and full access to new platform features, which matters for heavy graphics, complex animation or deep device integration. Team skills and long-term upkeep matter as much as tech.
Which architecture do you use for mobile apps?
Sample answer: Commonly MVVM: views display state and send user actions, a ViewModel holds screen state and logic, and a repository layer fetches data from the network or local database. It keeps UI code thin and makes logic testable. On iOS, SwiftUI with observable models follows the same idea.
How do you keep an app smooth?
Sample answer: Keep heavy work such as network calls, database reads and image decoding off the main thread, use lazy lists that reuse rows, load and cache images at the size shown, avoid deep view nesting and measure with the profiler for dropped frames.
How do you store sensitive data on a phone?
Sample answer: Store tokens in the Android Keystore or the iOS Keychain, never in plain preferences or files. Use HTTPS with certificate checks, avoid logging personal data, and keep secrets such as API keys on the server rather than in the app, since apps can be decompiled.
How do push notifications work?
Sample answer: The app registers with Firebase Cloud Messaging or Apple Push Notification service and gets a device token, which it sends to your server. Your server sends messages to that service, which delivers them to the device. Ask for permission at a sensible moment and let users control what they receive.
How do you handle different screen sizes on mobile?
Sample answer: Use flexible layouts such as ConstraintLayout or Compose on Android and Auto Layout or SwiftUI stacks on iOS, size text with the system's scalable units so it respects the user's font settings, supply images at several densities or use vectors, and test on small phones, large phones and tablets.
How do you call an API in a mobile app safely and efficiently?
Sample answer: Make calls on a background thread or with coroutines and async/await, set timeouts, retry carefully, cache responses where it makes sense, handle no-network states with a clear message, send tokens over HTTPS only and keep the UI responsive with loading states.
What is the difference between Jetpack Compose and XML views, or SwiftUI and UIKit?
Sample answer: Compose and SwiftUI are declarative: you describe the UI for the current state and the framework updates it when state changes, which means less code. XML views and UIKit are imperative: you build views and change them step by step. Most new code uses the declarative style, but older apps mix both.
How do you release an app safely?
Sample answer: Use internal and beta tracks or TestFlight first, then a staged rollout to a small share of users while watching crash-free rate and reviews. Use feature flags for risky changes so they can be turned off without a new release, since store review can delay a fix.
Past experience
Tell me about an app you released and how users responded.
Sample answer: Describe the app, your part, how you tested before release (beta tracks, TestFlight), and what happened after launch: ratings, crash rate, a piece of user feedback you acted on and the update you shipped in response.
Tell me about a hard bug that only happened on some devices.
Sample answer: Describe the symptom, how you found which devices and OS versions were affected (crash reports, device labs), the root cause, such as a manufacturer-specific behaviour or an older API, and how you fixed and tested it across devices.
What would you do?
Crash reports spike after a release. What do you do?
Sample answer: Check the crash tool (Crashlytics, Sentry) for the top crash, its stack trace and which devices and OS versions are affected. Pause the staged rollout, reproduce and fix, add a test, and ship a hotfix. If a feature flag guards the code, turn it off right away.
Users complain the app drains their battery. How do you investigate?
Sample answer: Check background work, location updates, wake locks and network polling with the platform's energy tools. Batch network calls, use push instead of polling, use WorkManager or background tasks with sensible limits, lower location accuracy when high accuracy is not needed, and confirm with before and after measurements.
Open Mobile App Developer (Android and iOS) jobs
Remote · Bulgaria
Sr. Software Engineer II- Mobile (Remote Eligible in Bulgaria)
Mobile, Alabama, United States
Licensed Practical Nurse
Remote · Singapore
Partner Marketing Manager, Mobile Growth (FTC)
Remote · Poland