Skip to content

Can I use Workmanager package to check on call state when app is not running? #2

@john-ravi

Description

@john-ravi

I want to detect live phone state in android using Workmanager package while running in background.
I could make periodic task execute every 15 min. But I would like to listen to phone state as and when it changes and then call dart code. Below is screenshot of code running at 15 min interval.
periodic 15

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