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

[Android] Enhancement-561/satelliteCount and satellitesUsedInFix #1364

Merged

Conversation

TimHoogstrate
Copy link
Contributor

@TimHoogstrate TimHoogstrate commented Oct 31, 2023

Adds satelliteCount and satellitesUsedInFix from the GNSS callback in Android.

It partly resolves #561.

Pre-launch Checklist

  • I made sure the project builds.
  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is does not need version changes.
  • I updated CHANGELOG.md to add a description of the change.
  • I updated/added relevant documentation (doc comments with ///).
  • I rebased onto main.
  • I added new tests to check the change I am making, or this PR does not need tests.
  • I made sure all existing and new tests are passing.
  • I ran dart format . and committed any changes.
  • I ran flutter analyze and fixed any errors.

@TimHoogstrate TimHoogstrate changed the title Feature/gnss satellites in view [Android] Enhancement-561/satelliteCount and satellitesUsedInFix Nov 1, 2023
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b311084) 94.73% compared to head (868bf85) 100.00%.
Report is 4 commits behind head on main.

❗ Current head 868bf85 differs from pull request most recent head 4ae7e35. Consider uploading reports for the commit 4ae7e35 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #1364      +/-   ##
===========================================
+ Coverage   94.73%   100.00%   +5.26%     
===========================================
  Files           4        13       +9     
  Lines         114       244     +130     
===========================================
+ Hits          108       244     +136     
+ Misses          6         0       -6     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TimHoogstrate TimHoogstrate marked this pull request as ready for review November 2, 2023 13:38
Copy link
Member

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have some small points, but looks really good.

TimHoogstrate and others added 5 commits November 6, 2023 14:32
…or/location/NmeaClient.java

Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>
Copy link
Member

@mvanbeusekom mvanbeusekom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mvanbeusekom mvanbeusekom merged commit 85f4f95 into Baseflow:main Jan 22, 2024
1 check passed
@Wackymax
Copy link
Contributor

@mvanbeusekom I don't think this was tested at all before merging. The AndroidPosition class zeroes out all the values and the the equals method is flawed checking only the new properties

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

Successfully merging this pull request may close these issues.

Getting the number of satellites
3 participants