Skip to main content

iOS - Access Device Info

note

Modules conforming to the Module interface can access an instance of ModuleDataSource via the moduleDataSource property.
Use this to retrieve information about the current user’s device. :::

User Device ID

Device Identifier
let q2DeviceIdentifier = moduleDataSource?.device?.identifier

User Device Name

Device Name
let q2DeviceName = moduleDataSource?.device?.name