From b2e67e498f747e618abad6ec0ec1db508d08a8c6 Mon Sep 17 00:00:00 2001 From: VitorVieiraZ Date: Mon, 13 May 2024 17:34:18 -0300 Subject: [PATCH] last adjustments --- app/android/src/uk/co/lutraconsulting/InputActivity.java | 2 +- app/ios/iosutils.mm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/android/src/uk/co/lutraconsulting/InputActivity.java b/app/android/src/uk/co/lutraconsulting/InputActivity.java index 32468f634..fa5781037 100644 --- a/app/android/src/uk/co/lutraconsulting/InputActivity.java +++ b/app/android/src/uk/co/lutraconsulting/InputActivity.java @@ -115,7 +115,7 @@ public String getManufacturer() { } public String getDeviceModel() { - return android.os.Build.MODEL; + return android.os.Build.MODEL.toUpperCase(); } public void hideSplashScreen() diff --git a/app/ios/iosutils.mm b/app/ios/iosutils.mm index df6f3742c..ea91001ae 100644 --- a/app/ios/iosutils.mm +++ b/app/ios/iosutils.mm @@ -44,12 +44,13 @@ QString IosUtils::getManufacturerImpl() { - return "Apple Inc."; + return "APPLE INC."; } QString IosUtils::getDeviceModelImpl() { struct utsname systemInfo; uname( &systemInfo ); - return QString::fromUtf8( systemInfo.machine ); + QString deviceModel = QString::fromUtf8( systemInfo.machine ); + return deviceModel.toUpper(); }