diff --git a/docs/controls/geolocator.md b/docs/controls/geolocator.md index be28a67b..d781cb70 100644 --- a/docs/controls/geolocator.md +++ b/docs/controls/geolocator.md @@ -9,10 +9,10 @@ Based on the [geolocator](https://pub.dev/packages/geolocator) Dart/Flutter pack Geolocator control is non-visual and should be added to `page.overlay` list. :::info Packaging -To build your Flet app that uses `Geolocator` control add `--include-packages flet_geolocator` to `flet build` command, for example: +To build your Flet app that uses `Geolocator` control add `--permissions location` to `flet build` command, for example: ``` -flet build apk --include-packages flet_geolocator +flet build apk --permissions location ``` ::: @@ -205,4 +205,4 @@ Fires when an error occurs. Fires when the position of the device changes. -Event handler argument is of type [`GeolocatorPositionChangeEvent`](/docs/reference/types/geolocatorpositionchangeevent). \ No newline at end of file +Event handler argument is of type [`GeolocatorPositionChangeEvent`](/docs/reference/types/geolocatorpositionchangeevent).