Is ARKit required to get landscape tilt controls?

I tried using Tilt controls in landscape orientation on an older Samsung smartphone. It detected rotation only along two axes. When I tried to detect Yaw when holding it upright in landscape orientation, it was all zeroes. It only detected changes in pitch or roll with the phone in that position, which makes it useless for turning the player in the game world by turning their head or body with the phone in their hands, which is what I’m trying to do.

Would using ARKit or something like that make Unreal able to detect yaw with the phone in landscape orientation, held up in front of my face?