Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Using from a foreground service? #2

@catellie

Description

@catellie

I've tried to adapt this code for use in a foreground service. That is, instead of:

notificationManager.notify(chat.contact.id.toInt(), builder.build())

... I would like to do:

startForeground(NOTIFICATION_ID, builder.build())

However, I've been unsuccessful in making it work (the equivalent code works fine in Android 10 with Bubbles turned on in Dev Settings). Are there further things needed to make this work is this a known limitation that no longer should work?
Or is it just a bug in the beta?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions