prebid-mobile-ios icon indicating copy to clipboard operation
prebid-mobile-ios copied to clipboard

Prebid SDK iOS does not send OpenRTB 'hwv' object

Open takenorim opened this issue 8 months ago • 3 comments

Describe the bug I found Prebid SDK iOS does not send H/W information which is corresponding to hwv in terms of OpenRTB.

To Reproduce Use Charles iOS app to capture traffic from actual iPhone devices.

Expected behavior /device.hwv is sending to Prebid Server.

Additional context It looks the Prebid SDK iOS tries to read hardware information by the following legacy logic. But, this does not work (at least my environment). Can someone confirm it with iPhone/iPad devices, please?

  • https://github.com/prebid/prebid-mobile-ios/blob/4020716722b7a73b45abb91c869cd6b0af12f046/PrebidMobile/PrebidMobileRendering/Utilities/PBMDeviceAccessManager.m#L83-L92

The following is Apple's developer guide, I'm not sure whether hw.machine still works as expected at recent iOS versions and iPhone/iPad devices.

  • https://developer.apple.com/documentation/kernel/1387446-sysctlbyname
  • https://developer.apple.com/documentation/kernel/1387446-sysctlbyname/determining_system_capabilities

takenorim avatar Jun 18 '24 08:06 takenorim