raw_gnss_2025 2.0.1 copy "raw_gnss_2025: ^2.0.1" to clipboard
raw_gnss_2025: ^2.0.1 copied to clipboard

PlatformAndroid

Get Raw GNSS Data Points for Android on Flutter - Originated code from raw_gnss by Deven Joshi

raw_gnss 📡


raw_gnss 📡 makes it easy to fetch raw GNSS data including GNSS Measurement Events, GNSS Navigation Messages, and GNSS Status Events.


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, GNSSNavigationMessages and GNSSStatus via inbuilt streams.

Usage #

GNSS Measurements

  RawGnss().gnssMeasurementEvents.listen((e) {});

GNSS Navigation Messages

  RawGnss().gnssNavigationMessageEvents.listen((e) {});

GNSS Status

  RawGnss().gnssStatusEvents.listen((e) {});

Platform Support #

⚠️ Android Only - This plugin currently supports Android 7.0+ only. iOS and macOS are not supported as they do not expose raw GNSS APIs.

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}"),
            );
          },
          itemCount: snapshot.data!.measurements?.length ?? 0,
      );
    },
    stream: RawGnss().gnssMeasurementEvents,
  ),
0
likes
150
points
159
downloads

Publisher

unverified uploader

Weekly Downloads

Get Raw GNSS Data Points for Android on Flutter - Originated code from raw_gnss by Deven Joshi

Repository
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on raw_gnss_2025

Packages that implement raw_gnss_2025