hypertrack_views_flutter 0.1.1 copy "hypertrack_views_flutter: ^0.1.1" to clipboard
hypertrack_views_flutter: ^0.1.1 copied to clipboard

trying to create an interface for the hypertrack views sdk in flutter

hypertrack_views_flutter #

trying to create an interface for the hypertrack views sdk in flutter

installs the hypertrack views sdk for Android and iOS, and uses flutter platform channels to communicate between them and the dart api.

first time using kotlin and swift :)

https://pub.dev/packages/hypertrack_views_flutter/install

Usage #

Initialize the plugin with HypertrackViewsFlutter views = HypertrackViewsFlutter(PUBLISHABLE_KEY);

Get a single device update with MovementStatus test = await views.getDeviceUpdate(DEVICE_ID);

Subscribe to device updates with

views.subscribeToDeviceUpdates(DEVICE_ID).listen((MovementStatus event) {
  do stuff;
});
3
likes
40
pub points
0%
popularity

Publisher

unverified uploader

trying to create an interface for the hypertrack views sdk in flutter

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, streams_channel

More

Packages that depend on hypertrack_views_flutter