trackiva 0.0.3
trackiva: ^0.0.3 copied to clipboard
A comprehensive Flutter plugin for location tracking in foreground, background, and terminated states with MQTT, GraphQL, and HTTP support.
0.0.3 #
- MQTT Enchancement
0.0.2 #
Major Changes #
- Complete rebranding: Renamed from Nectar Tracker to Trackiva across all files, packages, and documentation
- Flexible payload support: MQTT configuration now accepts a flexible
Map<String, dynamic>payload instead of fixed fields - HTTP support: Added HTTP endpoint configuration for sending location data via REST API
- GraphQL support: Added GraphQL endpoint and mutation configuration for sending location data
- Offline storage & sync: Implemented local SQLite database storage with automatic sync when connectivity is restored
- Connectivity monitoring: Added real-time network connectivity detection and automatic sync triggering
Features Added #
setHttpConfig()method for configuring HTTP endpointssetGraphQLConfig()method for configuring GraphQL endpoints- Automatic offline storage of location data
- Automatic sync of pending locations when online
onConnectivityChangeevent stream for monitoring network status- Enhanced
onHttpevent stream for HTTP request tracking
Improvements #
- Updated all package names from
nectar_trackertotrackiva - Updated all class names from
NectarTracker*toTrackiva* - Updated all method channel names to use
trackivaprefix - Comprehensive README.md with all features documented
- Updated example app to use new Trackiva API
Breaking Changes #
setMqttConfigAndDetails()now requires apayloadparameter (Map<String, dynamic>) instead of individual fields- All package imports changed from
package:nectar_tracker/nectar_tracker.darttopackage:trackiva/trackiva.dart - All class names changed (e.g.,
NectarTracker→Trackiva,NectarTrackerConfig→TrackivaConfig)
Bug Fixes #
- Fixed connectivity_plus API usage (corrected to use List
- Fixed GraphQL mutation parsing with proper gql function usage
- Removed all nectar-related references from codebase
0.0.1 #
- Initial release with basic location tracking and MQTT support