likemike Posted April 21, 2021 Share Posted April 21, 2021 Hello! I use UniPlatform to get the info, which OS is used. uPlat:=UniApplication.UniPlatform; IF (upAndroid IN uPlat) THEN OS:='Android' ELSE IF (upiOS IN uPlat) THEN OS:='iOS' ELSE IF (upDesktop IN uPlat) THEN OS:='Windows'; It works on most devices, but on an iPad (APPLE MTXN2FD/A iPad Pro -2018) I get: Quote OS = Windows Anyone else has the same problem? Regards Mike Link to comment Share on other sites More sharing options...
GoldLine Posted April 22, 2021 Share Posted April 22, 2021 13 hours ago, likemike said: Hello! I use UniPlatform to get the info, which OS is used. uPlat:=UniApplication.UniPlatform; IF (upAndroid IN uPlat) THEN OS:='Android' ELSE IF (upiOS IN uPlat) THEN OS:='iOS' ELSE IF (upDesktop IN uPlat) THEN OS:='Windows'; It works on most devices, but on an iPad (APPLE MTXN2FD/A iPad Pro -2018) I get: Anyone else has the same problem? Regards Mike Same problem on my IPad (5.Gen) with ios 14.4.2 UniApplication.UniPlatform returns upDesktop. Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 24, 2021 Share Posted April 24, 2021 Hello Added to main pool. We will address this issue one of the next builds. Link to comment Share on other sites More sharing options...
likemike Posted May 13, 2021 Author Share Posted May 13, 2021 Hello! I've tested a lot of browsers and devices. Here are the cases, where Uniplatform shows wrong informations about the used device: - Apple iPad + Safari returns "upDesktop" - Android tablets (different devices) + Samsung Internet Browser (v 14.0.1.62) return "upDesktop" - Android tablets (different devices) + Firefox (v 88.1.3) return "upPhone" (instead of upTablet) My app differs between the device models, so it's very important for me to get the correct return value. Is there any progress? Regards Mike Link to comment Share on other sites More sharing options...
Recommended Posts