This Android application demonstrates how to send push notifications using Firebase Cloud Messaging (FCM) and launch the app on message reception using overlay permissions. It also showcases how to retrieve the FCM registration token and send a notification using Volley.
- Android Studio Chipmunk or later.
- Kotlin 1.5 or later.
- Minimum SDK 21 (Android 5.0 Lollipop).
- How to send and receive data-based FCM push notifications.
- Handling foreground and background notification behavior.
- Managing overlay permissions dynamically.
Never expose your FCM server key in public repositories. Use secure server-side environments for production.