UX: in-app user verification - Record device gyroscope and accelerometer data #4583
requested to merge 4583-ux-in-app-user-verification-record-device-gyroscope-and-accelerometer-data into develop
Ticket(s) / Related Merge Requests
#4584 (closed) #4579 (closed) #4580 (closed) #4581 (closed) #4582 (closed)
Summary of Changes
Record 4sec of device gyroscope and accelerometer data
Testing Considerations
Device only
- import the hook:
import { useThreeAxisSensor } from '~/common/hooks/useThreeAxisSensor';
- add this line to the screen component
const { isLoading, sensorsData } = useThreeAxisSensor();
- on
isLoading === false
the 4sec collected data will be insensorsData
as array of strings with'{ "z": 0, "y": 1, "z": 0.5 }'
format.
Deployment Considerations
Regression Scope
N/A
Platform Affected (web, mobile, etc)
Both, device only
Developer Testing Completed
Tested on real device, iOS and Android.
Screenshots / Screen Recording
N/A
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out
Edited by Vali