Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to "detect" if sensors are working? #13

Open
cristianoccazinsp opened this issue Jan 12, 2021 · 1 comment
Open

Any way to "detect" if sensors are working? #13

cristianoccazinsp opened this issue Jan 12, 2021 · 1 comment

Comments

@cristianoccazinsp
Copy link
Contributor

When testing on a simulator or on a device without sensors, the start call still succeeds. Any way to detect sensors?

@Daniyaalbeg
Copy link

There is a hasCompass method that returns a promise that resolves to a boolean whether a compass is available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants