Skip to content

Not working with .Net 8.0 #4

@damusthe

Description

@damusthe

When targeting .Net 8.0, this exception is raised when calling
StartForeground(myId, notification.Build());
Exception :
Android.App.MissingForegroundServiceTypeException Message=Starting FGS without a type callerApp=

Clues :
https://developer.android.com/about/versions/14/changes/fgs-types-required#permission-for-fgs-type

Thank you for your excellent project Carl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions