Heading is always null in Geolocation

Hi, I am using the geolocation plugin to get the device’s heading. However it always returns null

Why is this?

Some devices may not provide that information, hence it is null.

Why? I’m using a Samsung A8, I am not sure but I doubt it’s lacking any hardware to provide it

They might not provide it for some reason. The plugin is just a wrapper to the web api, so you could try a stand-alone web page (on a https server) to see what it provides.