Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicosnicolaou16/sampleforegroundservice

This sample project shows the setup for the foreground service. The service in this sample project is a foreground service to request location. The permission for is depend of the foreground service type.
https://github.com/nicosnicolaou16/sampleforegroundservice

android android-app android-application foreground-service jetpack-android jetpack-compose kotlin kotlin-android location-services service

Last synced: 3 months ago
JSON representation

This sample project shows the setup for the foreground service. The service in this sample project is a foreground service to request location. The permission for is depend of the foreground service type.

Awesome Lists containing this project

README

        

# Sample Foreground Service
This sample project shows the setup for the foreground service. The service in this sample project is a foreground service to request location.
The permission for is depend of the foreground service type.

## Similar project with (Dart Language)

https://github.com/NicosNicolaou16/SampleForegroundServiceFlutter

# Manifest Setup
```xml


















```

# References
https://developer.android.com/about/versions/14/changes/fgs-types-required

https://stackoverflow.com/questions/14385231/android-broadcastreceiver-auto-run-service-after-reboot-of-device

## Check my article
https://medium.com/@nicosnicolaou/foreground-service-in-android-9ff18be69ef6

Target SDK version: 35

Minimum SDK version: 29

Kotlin version: 2.0.21

Gradle version: 8.7.2