Installation
Add the Traceway SDK to your project.
Installation
Traceway currently ships a Flutter SDK. Native iOS, Android, and web SDKs are in development.
Flutter
The Flutter SDK requires:
- Dart SDK ^3.6.0
- Flutter >=3.27.0
Add the dependency
The package is not yet published on pub.dev. Add it as a git dependency in your pubspec.yaml:
dependencies:
traceway:
git:
url: https://github.com/tracewaydev/traceway-flutter
Then run:
flutter pub get
What gets installed
The SDK pulls in the following packages automatically:
| Package | Version | Purpose |
|---|---|---|
| sensors_plus | ^6.1.1 | Shake gesture detection for the report trigger |
| device_info_plus | ^11.2.0 | Device model, OS version, and platform metadata |
| package_info_plus | ^8.1.2 | App name, version, and build number |
| uuid | ^4.5.1 | Unique identifiers for reports and sessions |
| http | ^1.2.2 | Report submission to the Traceway API |
Verify installation
Run your app. If there are no import errors after adding the dependency, the SDK installed successfully. You will configure it in the next step.
Other platforms
SDKs for iOS (Swift), Android (Kotlin), and Web (JS/TS) are planned for future releases. Flutter already covers these platforms natively:
- Flutter iOS builds → use the Flutter SDK
- Flutter Android builds → use the Flutter SDK
- Flutter Web builds → use the Flutter SDK
If you need a native Swift or Kotlin SDK, check the roadmap or watch the GitHub repository for announcements.