name: rw_tcx
description: A simple package to read and write TCX file using Dart With this package it is possible to extract track points for a TCX file or write a valid TCX file from an array of track points
It is a Dart only package, Flutter is not needed
Check on pub.dev/packages to see how to install this package https://pub.dev/packages/rw_tcx#-installing-tab-
There are only 2 APIs
- readTCX
- writeTCX
There is a complete example showing how to use readTCX and writeTCX For readTCX, the sample2.tcx stored in assets is coming from Garmin Connect export For writeTCX, the generated TCX file is sent to Google Drive in addition to be uploaded to Strava
There is a nice online tool https://www.gpsies.com/convert.do to get a detailed explanation of what is wrong in your TCX file
So far only on Android 8.0 for the moment
If you spot a problem/bug or if you consider that the code could be better please post a new issue. I have developed this package to be able to upload a TCX to Strava so rTCX.dart is very basic. Feel free to contribute to add more features.
rw_tcx is provided under a MIT License. Copyright (c) 2019 Patrick FINKELSTEIN