Skip to content

run navigation in background #31

@karussell

Description

@karussell

Get GPS updates to announce turn instructions even if the app is in background or if screen is off.

Unfortunately this is currently not possible with a web API, see w3c/ServiceWorker#745 or w3c/geolocation#214.

And CapacitorJS removed the background task plugin in v4.x and the location plugin "stops location updates when the app goes into background state" - see here.

We could try if the background-runner API works for this but this is available only in v5.x. It seems the background-runner is something different like we need, because they announced that " A Background Tasks Capacitor Plugin is coming soon!" here in March 2023, which seems exactly what we need.

Or we could try this plugin.

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