Mobile applications
Overview
Mobile apps run on phones and tablets, either as native (Swift/Kotlin), cross-platform (Flutter, React Native), or hybrid/web (WebView). Distribution usually goes through Apple App Store and Google Play, with platform-specific guidelines, signing, and review processes.
Key concepts
- Native vs cross-platform — Performance, access to OS APIs, and team skills trade off.
- Offline & sync — Local storage, background tasks, and conflict resolution.
- Push notifications — Device tokens, provider APIs (APNs, FCM).
- App lifecycle — Foreground, background, low-memory kills, deep links.
- Store policies — Privacy labels, permissions, and content rules.
Release pipeline (conceptual)
Sample: React Native functional screen (sketch)
import { View, Text, Pressable } from 'react-native';
export function HomeScreen() {
return (
<View style={{ padding: 16 }}>
<Text accessibilityRole="header">Hello</Text>
<Pressable accessibilityRole="button" onPress={() => {}}>
<Text>Continue</Text>
</Pressable>
</View>
);
}