The doco says that on devices without a compass, the internal gyro can be used.
My iphone 7 compass in hopeless - it can be in error by 60-90 degrees, which makes using Sky Safari to find objects a waste of time. As you say in a response to a 2017 request for a compass/gyro offset feature, ios is feeding you bad data and there is nothing you can do about that.
A fix for me would to be able to use the internal gyro and not the compass. That would allow me to calibrate the app by pointing at a known object and thereafter find other objects.
Can I disable the compass in some manner that will cause Sky Safari to use the gyro instead?