Hi, I had the same problem.
The compass was pointing completely in the opposite direction, 180 degrees off.
On Google maps and Mapy map.
Solution: downloaded a compass: Compass PixelProse SARL (it might be the same which one you download, I don’t know)
This is a compass with USE ADVANCED SENSOR turned off in the settings.
I then wrote 8s in the air with the phone. Fixed it immediately, I now have a good compass.
I had the same problem with Gmail. It didn’t want to display incoming mail even though I gave it all the permissions. The solution was to download another mail system (Aqua mail) and set it up. It worked perfectly. And incredibly, it fixed Gmail all by itself.