My company writes multi-platform photo management software, and both Apple's and Microsoft's HEIC/HEVC orientation is a huge pain.
Not only do they frequently report the wrong values, they change it 2 or 3 times per year and change where it's stored.
Even more painful, Apple stores still...