Skip to main content

raw_gnss 0.2.0 copy "raw_gnss: ^0.2.0" to clipboard
raw_gnss: ^0.2.0 copied to clipboard

outdated

Get Raw GNSS Data Points for Android on Flutter

raw_gnss #

Get Raw GNSS Data On Android #

Since Android 7.0, Android exposed the GNSS APIs required to get raw data points opening up the location black box earlier.

raw_gnss allows you to easily fetch the GNSSMeasurementEvents and GNSSNavigationMessages via inbuilt streams.

Example: Fetch GNSSMeasurementModels #

    StreamBuilder<GnssMeasurementModel>(
      builder: (context, snapshot) {
        if(snapshot.data == null) {
          return CircularProgressIndicator();
        }
        
        return ListView.builder(itemBuilder: (context, position) {
          return ListTile(
            title: Text("Satellite: ${snapshot.data.measurements[position].svid}"),
          );
        });
      },
      stream: RawGnss().gnssMeasurementEvents,
    ),

iOS does not yet expose raw location data, hence this plugin does not support iOS as of yet.

20
likes
130
points
22
downloads

Documentation

API reference

Publisher

verified publisherjoshi.dev

Weekly Downloads

Get Raw GNSS Data Points for Android on Flutter

Repository
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on raw_gnss

Packages that implement raw_gnss