[Settings > General] Expose codename in platform info
This commit is contained in:
parent
8b480b92e2
commit
d0020c5561
2 changed files with 9 additions and 2 deletions
|
@ -92,14 +92,16 @@ export function getDebugInfo(string: boolean = false) {
|
|||
device: {
|
||||
manufacturer: PlatformConstants.Manufacturer,
|
||||
brand: PlatformConstants.Brand,
|
||||
model: PlatformConstants.Model
|
||||
model: PlatformConstants.Model,
|
||||
codename: DCDDeviceManager.device
|
||||
}
|
||||
},
|
||||
ios: {
|
||||
device: {
|
||||
manufacturer: DCDDeviceManager.deviceManufacturer,
|
||||
brand: DCDDeviceManager.deviceBrand,
|
||||
model: DCDDeviceManager.device
|
||||
model: DCDDeviceManager.deviceModel,
|
||||
codename: DCDDeviceManager.device
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue