Add foregroundServiceType support to AndroidManifest templates#3262
Merged
AndreMiras merged 4 commits intokivy:developfrom Dec 6, 2025
Merged
Add foregroundServiceType support to AndroidManifest templates#3262AndreMiras merged 4 commits intokivy:developfrom
AndreMiras merged 4 commits intokivy:developfrom
Conversation
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
approved these changes
Dec 6, 2025
Contributor
|
LGTM! Will wait with the merge because of the failing checks. |
AndreMiras
approved these changes
Dec 6, 2025
Member
AndreMiras
left a comment
There was a problem hiding this comment.
Thanks for the contribution.
The CI issue should be addressed via #3265 indeed.
Merging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
or
Android documentation references: