Why does the compass ask for permission only on iPhone?
Because iOS 13 and newer require the site to call `DeviceOrientationEvent.requestPermission()` from a user gesture, like a button tap, before releasing orientation sensor data; Android usually does not require that explicit confirmation.
Does the alpha angle point directly at north?
Not on its own: `alpha` is relative to the device starting orientation, not to geographic north; actually pointing at north requires the absolute event or, on iOS, `webkitCompassHeading`.
What is the difference between magnetic north and true north in this compass?
The sensor measures direction relative to the Earth magnetic field, that is, magnetic north; true geographic north differs from it by magnetic declination, an angle that changes from place to place and shifts slowly year over year, so the raw sensor reading is not the same as the north on a map.
Can I trust this compass for real navigation, like a trail or the sea?
It is not recommended: beyond the uncorrected magnetic declination offset, smartphone sensors suffer interference from nearby metal and electronics, and the raw `alpha` reading is not always calibrated against north; for navigation where accuracy matters, use a dedicated magnetic compass.