ble_provider 0.0.1

Flutter Android iOS

This package provides Flutter access to Polestar indoor location provider.

ble_provider #

This package provides Flutter access to Pole Star indoor location provider. For the moment, it only contains Android implementation.

Adding the Pole Star key #

This project requires a Pole Star key, which can be found under the "Indoor Location" tab of your venue on the Mapwize Studio; without a valid key, the provider will crash when initialized.

Available methods #

Future<void> init (String polestarKey) Must be called to initialize the Pole Star indoor location provider.

Future<bool> setLocationCallback (Function(IndoorLocation) callback) Sets the function to be called when the package receives a new location.

Future<bool> start() Starts the indoor location provider; returns true if started properly.

Future<bool> stop() Stops the indoor location provider; returns true if stopped properly.

2
likes
80
pub points
25%
popularity

This package provides Flutter access to Polestar indoor location provider.

Homepage

Documentation

API reference

Uploader

raesremy@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on ble_provider