cph-cachet / carp.sensing-flutter

CARP Mobile Sensing for Flutter, including mobile sensing framework, data backend support, and the CARP mobile sensing app.
MIT License
80 stars 28 forks source link

The UserTaskTrigger don't seem to survive app restart #273

Closed bardram closed 2 years ago

bardram commented 2 years ago

When loading the json deployment file.

This is the triggers in the json file:

      "20":{
         "$type":"dk.cachet.carp.protocols.domain.triggers.UserTaskTrigger",
         "taskName":"Task #20",
         "resumeCondition":"done"
      },
      "21":{
         "$type":"dk.cachet.carp.protocols.domain.triggers.UserTaskTrigger",
         "taskName":"Task #20",
         "resumeCondition":"done"
      }

and this is the TriggeredTask:

  {
         "triggerId":20,
         "taskName":"Task #20",
         "targetDeviceRoleName":"masterphone"
      },
      {
         "triggerId":21,
         "taskName":"Task #21",
         "targetDeviceRoleName":"masterphone"
      }