Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/controls/geolocator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 a 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
```
:::

Expand Down Expand Up @@ -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).
Event handler argument is of type [`GeolocatorPositionChangeEvent`](/docs/reference/types/geolocatorpositionchangeevent).