Skip to content

Conversation

@kengoon
Copy link
Contributor

@kengoon kengoon commented Dec 4, 2025

This commit introduces support for the 'foregroundServiceType' attribute in the AndroidManifest templates across all bootstraps. This change allows specifying the service type for foreground services, which is a mandatory requirement for apps targeting Android 14 (API level 34) and above to prevent runtime crashes.

example of how to specify in buildozer.spec file:

services = Test:service.py:foreground:sticky:foregroundServiceType=location|dataSync

or

services = Test:service.py:foreground:sticky:foregroundServiceType=location

Android documentation references:

This commit introduces support for the 'foregroundServiceType' attribute in the AndroidManifest templates across all bootstraps. This change allows specifying the service type for foreground services, which is a mandatory requirement for apps targeting Android 14 (API level 34) and above to prevent runtime crashes.
@kuzeyron kuzeyron added the core-providers Core code that's not a recipe label Dec 4, 2025
@kuzeyron
Copy link
Contributor

kuzeyron commented Dec 6, 2025

LGTM! Will wait with the merge because of the failing checks.

Copy link
Member

@AndreMiras AndreMiras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution.
The CI issue should be addressed via #3265 indeed.
Merging

@AndreMiras AndreMiras merged commit 359975b into kivy:develop Dec 6, 2025
153 of 162 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-providers Core code that's not a recipe

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants