Skip to content

Update geolocator.md #417

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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 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
```
:::

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).