blockbasti / just_another_workout_timer

A simple timer for your workouts, built with Flutter!
MIT License
132 stars 23 forks source link

Problems importing json #171

Open gfadini opened 1 year ago

gfadini commented 1 year ago

Describe the bug I initially wanted to import some workouts from another app (Workout Time!) by modifying them. The json exported from the other app is quite similar (it just needs the 'id' field and has an additional wait time). So I've started converting the file by adding an uuid string and the format required, but I was not able to import it in the app. Later on, by debugging, I noticed that I was unable to import other json files as well, for instance, the example one in issue #95. The problem seems to be pretty similar, but I do not have any error message so it is quite difficult to debug.

To Reproduce Steps to reproduce the behavior:

  1. Select the json file from phone
  2. Import
  3. No workout is added, no message

Expected behavior Clean import, or some error message.

Smartphone: