https://github.com/marchellodev/ackee_dart
Ackee tracker implemented in Dart
https://github.com/marchellodev/ackee_dart
Last synced: over 1 year ago
JSON representation
Ackee tracker implemented in Dart
- Host: GitHub
- URL: https://github.com/marchellodev/ackee_dart
- Owner: marchellodev
- License: mit
- Created: 2021-06-15T16:42:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-18T08:09:39.000Z (about 5 years ago)
- Last Synced: 2025-01-20T22:43:51.215Z (over 1 year ago)
- Language: Dart
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Ackee Dart Tracker
[Ackee](https://ackee.electerious.com/) tracker implemented in Dart (for both Dart and Flutter applications).
### Usage
```dart
import 'package:ackee_dart/ackee_dart.dart';
startAckee(
Uri.parse('http://localhost:3000/api'),
'3d8183e4-774b-45ad-9041-229338cb34a1',
const Attributes(
location: 'https://flutter2.app',
...
));
```
### Current limitations
- Events are not yet implemented
### How does this work
The `startAckee()` starts a tracker in an async method. First, it creates a record. If it fails, it waits for 5 seconds and tries again. Then, it just sends update requests every 10 seconds.
### License
MIT