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

Upgrade to carp_serializable v. 2.0 #419

Closed bardram closed 1 month ago

bardram commented 2 months ago

Core

Sampling Packages

Wearables

Backends

Apps

Packages

bardram commented 1 month ago

Note that the RP and CP packages need to be updated to have JSON of camelCase - right now it is snake_case - which creates inconsistent json..:

I/flutter (24401):  "sensorStartTime": 1728472113369541,
I/flutter (24401):  "data": {
I/flutter (24401):   "__type": "dk.cachet.carp.completedtask",
I/flutter (24401):   "taskName": "Task #16",
I/flutter (24401):   "taskData": {
I/flutter (24401):    "__type": "dk.cachet.carp.survey",
I/flutter (24401):    "surveyResult": {
I/flutter (24401):     "identifier": "demo_survey",
I/flutter (24401):     "start_date": "2024-10-09T13:07:59.565708",
I/flutter (24401):     "end_date": "2024-10-09T13:08:33.358662",
I/flutter (24401):     "results": {
I/flutter (24401):      "demo_1": {
I/flutter (24401):       "identifier": "demo_1",
I/flutter (24401):       "start_date": "2024-10-09T13:07:59.596600",
I/flutter (24401):       "end_date": "2024-10-09T13:08:00.811317",
I/flutter (24401):       "question_title": "Which is your biological sex?",
I/flutter (24401):       "results": {
I/flutter (24401):        "answer": [
bardram commented 1 month ago

In RP there is a debug text on right neighbor correct: 1 to be removed.