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
79 stars 27 forks source link

Make triggers extensible #403

Closed bardram closed 3 months ago

bardram commented 3 months ago

As part of the extensible architecture of CAMS, we need support for also extending with new Triggers. This would entails that we should also support the extension of TriggerExecutors which can execute such a trigger.

The use case is from Akane Sano group at Rice who wrote:

We are currently developing an app to send out surveys/EMAs to study participants using CARP Sensing. Our goal is to optimize response rates by triggering surveys/EMAs based on our models rather than sending them at scheduled times. To do this, we need our database to remotely trigger the surveys based on our model.

bardram commented 3 months ago

See

for a description on how this works.