Automattic / Automattic-Tracks-iOS

Client library for tracking user events for later analysis
GNU General Public License v2.0
42 stars 12 forks source link

Add a check for whether the user has VoiceOver enabled #75

Closed jkmassel closed 5 years ago

jkmassel commented 5 years ago

Adds support for adding the device's VoiceOver status to the Tracks event, per https://github.com/Automattic/Automattic-Tracks-iOS/issues/62.

(Fixes https://github.com/Automattic/Automattic-Tracks-iOS/issues/62)

To Test There's no way to test this in the simulator – the similar doesn't allow VoiceOver to be enabled. To get around this, I've whipped up a quick testing target in https://github.com/Automattic/Automattic-Tracks-iOS/tree/add/on-device-testing-target that you can run on-device. All it does is display DeviceInformation keys that can't be Unit Tested.