Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - 2025-06-dd#
Added#
- Deployed online documentation: https://flet-dev.github.io/flet-permissionhandler/
PermissionHandler
control new methods:get_status_async
request_async
open_app_settings_async
Changed#
- Refactored
PermissionHandler
control to use@ft.control
dataclass-style definition and switched toService
control type
Breaking Changes#
- Enum
PermissionType
renamed toPermission
PermissionHandler
methodcheck_permission_async
renamed toget_status_async
, with parameters changed:of
→permission
(type:PermissionType
→Permission
)wait_timeout
→timeout
PermissionHandler
methodrequest_permission_async
renamed torequest_async
, with parameters changed:of
→permission
(type:PermissionType
→Permission
)wait_timeout
→timeout
PermissionHandler
methodopen_app_settings_async
parameterwait_timeout
renamed totimeout
(type:Optional[float]
→int
)- Removed sync methods from
PermissionHandler
:check_permission
→ useget_status_async
insteadrequest_permission
→ userequest_async
instead
open_app_settings
→ useopen_app_settings_async
insteadPermissionHandler
must now be added toPage.services
before being used instead ofPage.overlay
.PermissionHandler
can now only be used on the following platforms: Windows, iOS, Android, and Web. AFletUnimplementedPlatformEception
will be raised if used on unsupported platforms.
0.1.0 - 2025-01-15#
Initial release.