tracelet_sync 3.2.9 copy "tracelet_sync: ^3.2.9" to clipboard
tracelet_sync: ^3.2.9 copied to clipboard

Offline SQLite persistence and automatic HTTP synchronization engine for Tracelet.

example/example.dart

import 'package:tracelet/tracelet.dart';
import 'package:tracelet_sync/tracelet_sync.dart'; // ignore: unused_import

void main() async {
  // Tracelet Sync plugin automatically connects to Tracelet Core
  // No configuration is required.
  //
  // Make sure you have configured Tracelet Core correctly:
  await Tracelet.ready(
    const Config(
      http: HttpConfig(
        url: 'https://api.example.com/locations',
        headers: {'Authorization': 'Bearer YOUR_TOKEN'},
        maxBatchSize: 50,
      ),
    ),
  );

  // Start tracking
  await Tracelet.start();
}
1
likes
160
points
102
downloads

Documentation

API reference

Publisher

verified publisherikolvi.com

Weekly Downloads

Offline SQLite persistence and automatic HTTP synchronization engine for Tracelet.

Homepage
Repository (GitHub)
View/report issues
Contributing

Funding

Consider supporting this project:

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

License

Apache-2.0 (license)

Dependencies

flutter, tracelet

More

Packages that depend on tracelet_sync

Packages that implement tracelet_sync