Supports Android 5 to 15+ without issues. Uses the latest foregroundServiceType for Android 10+. Auto-restarts when the app is killed. Lightweight and optimized for background tasks. Prevents service shutdown due to battery optimization.
This project provides a fully working foreground service that runs non-stop on Android 5 to 15. The service includes: ✅ Foreground Notification to keep the service alive. ✅ Auto-Restart when the app is removed from recent tasks. ✅ Custom Foreground Service Types for different use cases (Location, Media, Phone Calls, etc.). ✅ Works on Android 15 with the latest android:foregroundServiceType permissions. ✅ Optimized for Battery Efficiency and Play Store Compliance.
©2025 Sketchub | User Policy