ipad pro 6th generation M2 trueHeading and magnetic variation not working correctly

We are no longer getting a different value for trueHeading vs magneticHeading with the new ipad pro 6th generation M2 device. The M1 iPad Pro works and other iPad and iPhone devices work fine.

Apple told one of our users that we need to update our app - but we did only 4 weeks ago. Has something changed to the use of the CLHeading api for the M2 chip?

Are you also getting the location?

Solved. The magnets in the iPad Magic Keyboard were the problem, they were messing the magnetometer up. Once the iPad was removed from the case all works fine.

ipad pro 6th generation M2 trueHeading and magnetic variation not working correctly
 
 
Q