Windows 10 UAP - Compass.GetDefault() is sometimes null

Apr 11 2016 10:54 PM

Working on a windows 10 UAP and need Compass data. Has been working most the time, but every now and again Compass.GetDefault() returns null and it'll keeps doing it till I reset the device.

Thought it was my device at first, but it is randomly hitting the issue when submitting to the store and failing as a result.

Any suggestions would be great. Thanks


Answers (2)