← Android App Development (Kotlin) learning path
Android App Development (Kotlin) · Module 9 of 10

Permissions, notifications and services

Access device features responsibly.

📖 Key ideas

  1. Dangerous permissions (camera, location) need runtime requests.
  2. Explain why you need a permission before asking.
  3. Notifications need channels and POST_NOTIFICATIONS permission (Android 13+).
  4. WorkManager for background tasks; foreground services for ongoing user-visible work.
  5. Firebase Cloud Messaging for push notifications.
💡 Real-life example: Asking permission is knocking before entering a room, and explaining why you need to come in.
Runtime permissionPermission requested while app runs
Notification channelCategory of notifications
Foreground serviceVisible ongoing background work
FCMPush notification service