dchs_flutter_compass 1.0.0 copy "dchs_flutter_compass: ^1.0.0" to clipboard
dchs_flutter_compass: ^1.0.0 copied to clipboard

A Flutter compass. The heading varies from 0-360, 0 being north.

dchs_flutter_compass #

A Flutter compass. The heading varies from 0-360, 0 being north.

Note: Android Only: null is returned as direction on android when no sensor available.

Usage #

To use this plugin, add dchs_flutter_compass as a dependency in your pubspec.yaml file. For example:

dependencies:
  dchs_flutter_compass: '^1.0.0'

iOS #

Make sure to add keys with appropriate descriptions to the Info.plist file.

  • NSLocationWhenInUseUsageDescription
  • NSLocationAlwaysAndWhenInUseUsageDescription

Android #

Make sure to add permissions to the app/src/main/AndroidManifest.xml file.

  • android.permission.INTERNET
  • android.permission.ACCESS_COARSE_LOCATION
  • android.permission.ACCESS_FINE_LOCATION
0
likes
150
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter compass. The heading varies from 0-360, 0 being north.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on dchs_flutter_compass