hemanthrajv / flutter_compass

MIT License
101 stars 170 forks source link

Stream only updating once per second #77

Closed vanlooverenkoen closed 2 years ago

vanlooverenkoen commented 2 years ago

I am only receiving an update once a second. This is not usable to create a real-time compas.

vanlooverenkoen commented 2 years ago

https://github.com/hemanthrajv/flutter_compass/pull/68 This fixed it

dependency_overrides:
  flutter_compass:
    git:
      url: git@github.com:hemanthrajv/flutter_compass.git
      ref: 48e155bc647593e588fdeb5b22ed066afc1275ef
vanlooverenkoen commented 2 years ago

@hemanthrajv is it possible to create a new release on pub.dev

gosusnjar commented 2 years ago

I tried using this and got git access error. I solved it with using https. (Answer found here https://githubmemory.com/repo/trevorwang/retrofit.dart/issues/345, last comment))

dependency_overrides:
  flutter_compass:
    git:
      url: https://github.com/hemanthrajv/flutter_compass.git
      ref: 48e155bc647593e588fdeb5b22ed066afc1275ef
vanlooverenkoen commented 2 years ago

I tried using this and got git access error. I solved it with using https. (Answer found here https://githubmemory.com/repo/trevorwang/retrofit.dart/issues/345, last comment))

dependency_overrides:
  flutter_compass:
    git:
      url: https://github.com/hemanthrajv/flutter_compass.git
      ref: 48e155bc647593e588fdeb5b22ed066afc1275ef

That just means that your ssh keys are not setup correctly

gosusnjar commented 2 years ago

That just means that your ssh keys are not setup correctly

Oh, good to know, thanks.

vanlooverenkoen commented 2 years ago

Fixed in #68

vanlooverenkoen commented 2 years ago

Create a new ticket #80 so we can get this updated to pub.dev