ChildMindInstitute/mindlogger-web-vue-OLD

Save screen size

Closed this issue · 2 comments

We should also send the screen size when we send the responses. Some of those long voice passage tasks are harder to do on a small screen, people might read the passages slower when on their phone

Please clarify what functionality is related to this issue?
How should it affect the front-end?

@Eden2016, when a response is submitted, the app already sends back a client Object, eg,

{
	"client": {
		"appId": "mindlogger-mobile",
		"appVersion": "0.9.8",
		"deviceModel": "iPhone XR",
		"os": "iOS",
		"osVersion": "13.3"
	}
}

This feature request is just to add the screen dimensions (width × height) to that Object.