traceku_web 3.4.2 copy "traceku_web: ^3.4.2" to clipboard
traceku_web: ^3.4.2 copied to clipboard

Platformweb

Web implementation of the Traceku background geolocation plugin.

traceku_web #

📚 Official Documentation: traceku.carku.ir

Pub Package

Web implementation of the Traceku background geolocation plugin.

This package uses browser APIs (Geolocation, Permissions, fetch, navigator.onLine) to provide foreground-only location tracking on the web.

Important: The web platform does not support background location tracking. The Web Geolocation API only works while the page/tab is in the foreground.

Usage #

You should not depend on this package directly. Instead, depend on traceku which automatically includes this package on web builds.

dependencies:
  traceku: ^1.1.0

For a full compatibility matrix of what works and what doesn't on web, see the Web Support Guide.

Features #

Feature Status Notes
getCurrentPosition Full Via navigator.geolocation.getCurrentPosition() with auto-fallback
start / watchPosition Partial Foreground only. No background tab tracking.
stop / stopWatchPosition Full Via navigator.geolocation.clearWatch()
Geofencing Emulated Distance-based enter/exit/dwell computed in Dart
Persistence In-memory Lost on page refresh. Use HTTP sync for durability.
HTTP Sync Full Via browser fetch() API with delta compression support
Permissions Partial Via navigator.permissions.query()
Connectivity Full Via navigator.onLine events
Mock Detection Passthrough Location.isMock always false — browser API has no spoof detection
OEM Compatibility Stub isAggressiveOem: false — no OEM power management on web
Headless / Background No Not possible on web
System Settings No Cannot open OS settings from browser
Package Description
traceku App-facing Dart API — the only package you depend on
traceku_platform_interface Abstract platform interface
traceku_android Android implementation
traceku_ios iOS implementation

More Information #

0
likes
150
points
138
downloads

Documentation

Documentation

Publisher

verified publishercarku.ir

Weekly Downloads

Web implementation of the Traceku background geolocation plugin.

Homepage
Repository (GitHub)

Topics

#location #background #geofencing #web

Funding

Consider supporting this project:

github.com
www.buymeacoffee.com
thanks.dev
www.patreon.com

License

Apache-2.0 (license)

Dependencies

crypto, flutter, flutter_web_plugins, traceku_platform_interface, web

More

Packages that depend on traceku_web

Packages that implement traceku_web