Skip to content

[Bug]: NetworkType.CONNECTED constraint blocks offline background execution #158

Description

@Random90

Current Behavior

Another issue from me.

There is no need to blocking background runner from starting when there is no internet connection or when the app has no internet permission. There is tons of use cases for bg runner without the internet.
If there is no internet, the task invoked by the runner should handle it, not the runner.

Expected Behavior

Background task can be invoked without internet conneciton.

Reproduction

https://github.com/ionic-team/capacitor-background-runner/tree/c07bf57773b6edef46b48e88e0a485a296b4899a/apps/example-app

Screenshots / Media

No response

Environment Details

NA

Versions Affected

latest

Platforms Affected

  • iOS
  • Android
  • Web

Notes / Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions