diff --git a/src/lib/debug.ts b/src/lib/debug.ts index a40ce46..ab21372 100644 --- a/src/lib/debug.ts +++ b/src/lib/debug.ts @@ -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 } } } diff --git a/src/ui/settings/pages/General.tsx b/src/ui/settings/pages/General.tsx index 4e397b4..533f1b4 100644 --- a/src/ui/settings/pages/General.tsx +++ b/src/ui/settings/pages/General.tsx @@ -65,6 +65,11 @@ export default function General() { label: "Model", version: debugInfo.device.model, icon: "ic_phonelink_24px" + }, + { + label: RN.Platform.select({android: "Codename", ios: "Machine ID"})!, + version: debugInfo.device.codename, + icon: "ic_compose_24px" } ];