tracelet_web 0.12.0
tracelet_web: ^0.12.0 copied to clipboard
Web implementation of the Tracelet background geolocation plugin.
Changelog #
0.12.0 #
Performance Audit — Web optimizations #
- PERF: Hoist
math.Random()to top-level constant ingenerateUuid()(D-M1). - PERF: Use lazy
Iterablechaining ingetLocations(), materialize only once (D-M3). - PERF: Promote browser version
RegExppatterns tostatic final(D-M5). - PERF: Cache
.toJSreferences for web event listeners (D-H6). - PERF: Cache polygon vertices at
addGeofencetime (D-H5).
0.11.4 #
- CHORE: Version bump for platform consistency.
0.11.3 #
- CHORE: Version bump for platform consistency.
0.11.2 #
- FIX: Fix LICENSE file formatting so pana correctly detects Apache-2.0.
- DOCS: Add
example/example.dartfor pub.dev documentation score. - CHORE: Tighten
tracelet_platform_interfaceconstraint to^0.11.2.
0.11.1 #
- FEAT: Add
canScheduleExactAlarms()(returnstrue) andopenExactAlarmSettings()(returnsfalse) stub implementations. - CHORE: Bump platform interface to 0.11.1.
0.11.0 #
- FEAT: Stub implementations for privacy zone and audit trail methods (no-op on web).
- CHORE: Bump
tracelet_platform_interfaceto ^0.11.0.
0.10.0 #
- FEAT:
startPeriodic()— falls back towatchPosition()on web (periodic scheduling not available in browsers). - CHORE: Bump
tracelet_platform_interfaceto ^0.10.0.
0.9.1 #
- CHORE: Version bump for consistency.
0.9.0 #
- CHORE: Version bump for adaptive sampling, health check, and motion sensitivity release.
- CHORE: Bump
tracelet_platform_interfaceto ^0.9.0.
0.8.3 #
- CHORE: Version bump for proximity-based geofence monitoring release.
- CHORE: Bump
tracelet_platform_interfaceto ^0.8.3.
0.8.2 #
- DOCS: Improve README visuals with combined Android & iOS demo image.
0.8.1 #
- FIX: Fix
_bridgedControllerdropping all EventChannel events —onLocation,onMotionChange,onHeartbeat,onGeofence, and all other event streams were broken on web (events consumed but never forwarded to Dart). Now properly pipes data viacontroller.add(). - FIX:
WebEventDispatcher.log()was a no-op — now prints to browser console for debugging visibility. - FEAT: Diagnostic logging in
WebLocationEngine.getCurrentPosition()and_browserGetPosition()— logs request parameters, success/error callbacks, and_positionToMaperrors to the browser console.
0.8.0 #
- FEAT: OEM compatibility stubs —
getSettingsHealth()returnsisAggressiveOem: false(no OEM power management on web),openOemSettings()returnsfalse. - DOCS: Update README with OEM compatibility stub in feature table.
- CHORE: Bump
tracelet_platform_interfaceto ^0.8.0.
0.7.1 #
- DOCS: Add mock detection passthrough note to README feature table.
- CHORE: Bump
tracelet_platform_interfaceto ^0.7.1.
0.7.0 #
- FEAT:
_positionToMap()and_emptyLocation()now includemock: falsefield — browser Geolocation API has no mock detection capability. - CHORE: Bump
tracelet_platform_interfaceto ^0.7.0.
0.6.1 #
- FIX: Remove duplicate distance filter from
WebLocationEngine— all location filtering now handled by shared DartLocationProcessorviatracelet.dartpipeline, matching Android/iOS behavior. - REFACTOR: Replace duplicate
_haversine()inWebLocationEnginewith sharedGeoUtils.haversine(). - REFACTOR: Deduplicate UUID generators into shared
web_utils.dart(generateUuid()). - REFACTOR: Remove dead internal logging from
WebEventDispatcher(_logs,getLog(),clearLog()). - CHORE: Bump
tracelet_platform_interfaceto ^0.6.1.
0.6.0 #
- CHORE: Bump
tracelet_platform_interfaceto ^0.6.0. Inherits shared Dart algorithm improvements.
0.5.5 #
- CHORE: Bump
tracelet_platform_interfaceto ^0.5.5.
0.5.4 #
- CHORE: Bump
tracelet_platform_interfaceto ^0.5.4.
0.5.3 #
- CHORE: Bump
tracelet_platform_interfaceto ^0.5.3.
0.5.2 #
- FIX: Replace deprecated
registrar.messengerwithregistrardirectly in event channel registration. - CHORE: Bump version to 0.5.2.
0.5.1 #
- DOCS: Update README with usage instructions, compatibility table, and related packages.
- FIX: Add
.gitignoreto excludebuild/directory from publish. - FIX: Add
flutterenvironment constraint topubspec.yaml.
0.5.0 #
- FEAT: Initial web platform release.
- FEAT: Foreground-only location tracking via Web Geolocation API.
- FEAT: Geofence emulation (distance-based enter/exit/dwell detection).
- FEAT: In-memory persistence for locations and logs.
- FEAT: HTTP sync via browser
fetch()API. - FEAT: Permission queries via
navigator.permissions. - FEAT: Connectivity monitoring via
online/offlineevents. - FEAT: Auto-fallback from high to low accuracy on timeout.
- DOCS: Add comprehensive Web Support guide (
help/WEB-SUPPORT.md).
0.4.0 #
- Initial web implementation (pre-release).
- Connectivity detection via
navigator.onLine. - Stub implementations for platform-specific APIs (background tasks, settings, etc.).