Releases: Twilight0/flet-practical
Releases · Twilight0/flet-practical
Release list
v0.4.0 — lazy edge_tts + TtsService.preload() + Notifications mount fixes
Full Changelog: v0.3.5...v0.4.0
v0.3.5 — universal headless incoming share + conditional file:// for older devices
Full Changelog: v0.3.4...v0.3.5
v0.3.4 — toggleable indent filters for widgets/share (default false)
Full Changelog: v0.3.3...v0.3.4
v0.3.3 — fix Share + ReceiveShare mount (pre-warm + SAF)
Full Changelog: v0.3.2...v0.3.3
v0.3.2 — template overlay + receive_share toggle
Full Changelog: v0.3.1...v0.3.2
v0.3.0
Bump to 0.3.0 — Receive Share Intent (incoming share sheet target)
- flutter: add
receive_sharing_intent ^1.9.0(text/plain, image/, video/) - dart: add
PracticalReceiveShareControllisteninggetInitialMedia()+getMediaStream()→triggerEvent('share')withSharedMediaFile{path,type,mimeType,thumbnail},get_initial_share/resetinvoke handlers - python: add
ReceiveShareservice (practical_receive_share) withon_share(files)callback,get_initial_share(),reset(),page.servicesauto-mount — replaces nativeShareReceiverActivityvia pure Flet - example: add
examples/09_receive_share.pydemo (check initial share + reset) - test: add
test_receive_share+test_background_service, update README 8→9 features, modules overview §9 and examples list - bump
pyproject+flutter pubspec+__init__to 0.3.0
flutter analyze: 0 issues, pytest 17/17 passed
v0.2.0
Bump to 0.2.0 — flutter deps to latest & native Share + BackgroundService
- flutter: pasteboard 0.5.0, flutter_local_notifications 22.3.0, wakelock_plus 1.5.2 (1.7.0 incompatible with flet's package_info_plus 9), launch_at_startup 0.5.1, in_app_purchase 3.3.0, share_plus 12.0.1 (flet 0.86.5 pins 12), flutter_foreground_task 11.0.1
- dart: migrate Pasteboard.writeText void / remove writeHtml, notifications initialize(settings:) + show/cancel(id:) named, WakelockPlus.toggle(enable:), Share -> SharePlus.instance.share(ShareParams), autostart/iap invoker -> addInvokeMethodListener (flet 0.86), add PracticalBackgroundServiceControl (ForegroundService keepalive)
- python: wire Share to practical_share service (native ACTION_SEND / UIActivityViewController) + new BackgroundService (ForegroundService, battery-optimization helpers, ongoing notification) — fixes Python thread death on Home/desktop
- bump pyproject + flutter pubspec + init to 0.2.0
- add examples/08_background.py + README Background Service docs (generic, no Instasave ref)
flutter analyze: 0 issues, pytest 15/15 passed
flet-practical v0.1.1
What's new in 0.1.1
Notifications
- Mobile notification taps now reach Python via the
on_clickcallback (previously Linux-desktop only). - New
are_notifications_enabled()to query Android 13+ notification-permission state. request_permissions()now returns the real grant result instead of a hardcodedtrue.
AutoStart
- Android boot autostart is now wired through the
practical_autostartservice (previously a Linux-XDG-only stub).
Tests & examples
- Added tests for the
on_clickadapter, enabled query, and mobile service delegation. - Updated examples to demonstrate tap callbacks, payload, and permission request.