Dealing with compass/magnetometer inaccuracies across different mobile devices?
I'm developing an app in react native that is heavily dependant on the phone's compass bearing.
While testing (same conditions) i have noticed big differences in compass accuracy between different types of phones (i haven't tested any ios phone).
I have included a custom calibration module where the user must point to a known feature/building and indicate said featureon a map, but its cumbersome and i doubt many user will take the time.
I have looked for libraries with known compass deviations per phone model, but couldn't find any.
Has anyone encountered this problem and found a good and lasting solution? Any suggestions on how to reduce these compass inaccuracies across different types of phone?