flet-geolocator 0.70.0.dev6365__tar.gz → 0.70.0.dev6370__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flet-geolocator might be problematic. Click here for more details.
- {flet_geolocator-0.70.0.dev6365/src/flet_geolocator.egg-info → flet_geolocator-0.70.0.dev6370}/PKG-INFO +2 -2
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/pyproject.toml +2 -2
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/geolocator.py +17 -8
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370/src/flet_geolocator.egg-info}/PKG-INFO +2 -2
- flet_geolocator-0.70.0.dev6370/src/flet_geolocator.egg-info/requires.txt +1 -0
- flet_geolocator-0.70.0.dev6365/src/flet_geolocator.egg-info/requires.txt +0 -1
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/LICENSE +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/README.md +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/setup.cfg +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/__init__.py +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/types.py +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator.egg-info/SOURCES.txt +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator.egg-info/dependency_links.txt +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator.egg-info/top_level.txt +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/analysis_options.yaml +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/lib/flet_geolocator.dart +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/lib/src/extension.dart +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/lib/src/geolocator.dart +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/lib/src/utils/geolocator.dart +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/pubspec.lock +0 -0
- {flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flutter/flet_geolocator/pubspec.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-geolocator
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6370
|
|
4
4
|
Summary: Adds geolocation capabilities to your Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet==0.70.0.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6370
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-geolocator
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-geolocator"
|
|
3
|
-
version = "0.70.0.
|
|
3
|
+
version = "0.70.0.dev6370"
|
|
4
4
|
description = "Adds geolocation capabilities to your Flet apps."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"flet==0.70.0.
|
|
10
|
+
"flet==0.70.0.dev6370",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
{flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/geolocator.py
RENAMED
|
@@ -55,9 +55,9 @@ class Geolocator(ft.Service):
|
|
|
55
55
|
Note:
|
|
56
56
|
Depending on the availability of different location services,
|
|
57
57
|
this can take several seconds. It is recommended to call the
|
|
58
|
-
[`get_last_known_position`][
|
|
58
|
+
[`get_last_known_position`][(c).] method first to receive a
|
|
59
59
|
known/cached position and update it with the result of the
|
|
60
|
-
[`get_current_position`][
|
|
60
|
+
[`get_current_position`][(c).] method.
|
|
61
61
|
|
|
62
62
|
Args:
|
|
63
63
|
configuration: Additional configuration for the location request.
|
|
@@ -86,9 +86,12 @@ class Geolocator(ft.Service):
|
|
|
86
86
|
The last known position of the device as a [`GeolocatorPosition`][(p).].
|
|
87
87
|
|
|
88
88
|
Raises:
|
|
89
|
-
|
|
89
|
+
FletUnsupportedPlatformException: If invoked on a web platform.
|
|
90
90
|
"""
|
|
91
|
-
|
|
91
|
+
if self.page.web:
|
|
92
|
+
raise ft.FletUnsupportedPlatformException(
|
|
93
|
+
"get_last_known_position is not supported on web"
|
|
94
|
+
)
|
|
92
95
|
r = await self._invoke_method(
|
|
93
96
|
"get_last_known_position",
|
|
94
97
|
)
|
|
@@ -138,9 +141,12 @@ class Geolocator(ft.Service):
|
|
|
138
141
|
`True` if the app's settings were opened successfully, `False` otherwise.
|
|
139
142
|
|
|
140
143
|
Raises:
|
|
141
|
-
|
|
144
|
+
FletUnsupportedPlatformException: If invoked on a web platform.
|
|
142
145
|
"""
|
|
143
|
-
|
|
146
|
+
if self.page.web:
|
|
147
|
+
raise ft.FletUnsupportedPlatformException(
|
|
148
|
+
"open_app_settings is not supported on web"
|
|
149
|
+
)
|
|
144
150
|
return await self._invoke_method(
|
|
145
151
|
"open_app_settings",
|
|
146
152
|
)
|
|
@@ -156,9 +162,12 @@ class Geolocator(ft.Service):
|
|
|
156
162
|
`True` if the device's settings were opened successfully, `False` otherwise.
|
|
157
163
|
|
|
158
164
|
Raises:
|
|
159
|
-
|
|
165
|
+
FletUnsupportedPlatformException: If invoked on a web platform.
|
|
160
166
|
"""
|
|
161
|
-
|
|
167
|
+
if self.page.web:
|
|
168
|
+
raise ft.FletUnsupportedPlatformException(
|
|
169
|
+
"open_location_settings is not supported on web"
|
|
170
|
+
)
|
|
162
171
|
return await self._invoke_method(
|
|
163
172
|
"open_location_settings",
|
|
164
173
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-geolocator
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6370
|
|
4
4
|
Summary: Adds geolocation capabilities to your Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet==0.70.0.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6370
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-geolocator
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.70.0.dev6370
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet==0.70.0.dev6365
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/__init__.py
RENAMED
|
File without changes
|
{flet_geolocator-0.70.0.dev6365 → flet_geolocator-0.70.0.dev6370}/src/flet_geolocator/types.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|