Skip to main content

geolocator_apple 2.4.1 copy "geolocator_apple: ^2.4.1" to clipboard
geolocator_apple: ^2.4.1 copied to clipboard

PlatformiOSmacOS
unlisted

Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator.

geolocator_apple #

pub package Build status style: effective dart

The official iOS and macOS implementation of the geolocator plugin by Baseflow.

Usage #

Since version 7.5.0 of the geolocator plugin this is the endorsed iOS and macOS implementation. This means it will automatically be added to your dependencies when you depend on geolocator: ^7.5.0 in your applications pubspec.yaml.

More detailed instructions on using the API can be found in the README.md of the geolocator package.

Maritime positioning #

For location streams used on boats, including while anchored, select ActivityType.maritime:

final settings = AppleSettings(activityType: ActivityType.maritime);
final positions = GeolocatorApple().getPositionStream(locationSettings: settings);

This uses Core Location's maritime activity type when built with the iOS 27 or macOS 27 SDK (Xcode 27 or later) and running on that OS version or later. On older SDKs or operating systems, it falls back to ActivityType.otherNavigation. Existing activity types and the default activity type are unchanged.

Issues #

Please file any issues, bugs or feature requests as an issue on our GitHub page. Commercial support is available, you can contact us at hello@baseflow.com.

Want to contribute #

If you would like to contribute to the plugin (e.g. by improving the documentation, solving a bug or adding a cool new feature), please carefully review our contribution guide and send us your pull request.

Author #

This Geolocator plugin for Flutter is developed by Baseflow.

5
likes
160
points
2.78M
downloads

Documentation

API reference

Publisher

verified publisherbaseflow.com

Weekly Downloads

Geolocation Apple plugin for Flutter. This plugin provides the Apple implementation for the geolocator.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, geolocator_platform_interface

More

Packages that depend on geolocator_apple

Packages that implement geolocator_apple