Skip to content

Releases: Twilight0/flet-practical

v0.4.0 — lazy edge_tts + TtsService.preload() + Notifications mount fixes

Choose a tag to compare

@Twilight0 Twilight0 released this 05 Sep 12:10

Full Changelog: v0.3.5...v0.4.0

v0.3.5 — universal headless incoming share + conditional file:// for older devices

Choose a tag to compare

@Twilight0 Twilight0 released this 04 Sep 17:30

Full Changelog: v0.3.4...v0.3.5

v0.3.4 — toggleable indent filters for widgets/share (default false)

Choose a tag to compare

@Twilight0 Twilight0 released this 04 Sep 13:19

Full Changelog: v0.3.3...v0.3.4

v0.3.3 — fix Share + ReceiveShare mount (pre-warm + SAF)

Choose a tag to compare

@Twilight0 Twilight0 released this 04 Sep 03:33

Full Changelog: v0.3.2...v0.3.3

v0.3.2 — template overlay + receive_share toggle

Choose a tag to compare

@Twilight0 Twilight0 released this 03 Sep 12:54

Full Changelog: v0.3.1...v0.3.2

v0.3.0

Choose a tag to compare

@Twilight0 Twilight0 released this 27 Aug 20:58

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 PracticalReceiveShareControl listening getInitialMedia() + getMediaStream() → triggerEvent('share') with SharedMediaFile{path,type,mimeType,thumbnail}, get_initial_share/reset invoke handlers
  • python: add ReceiveShare service (practical_receive_share) with on_share(files) callback, get_initial_share(), reset(), page.services auto-mount — replaces native ShareReceiverActivity via pure Flet
  • example: add examples/09_receive_share.py demo (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

Choose a tag to compare

@Twilight0 Twilight0 released this 27 Aug 20:40

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

Choose a tag to compare

@Twilight0 Twilight0 released this 27 Aug 19:19

What's new in 0.1.1

Notifications

  • Mobile notification taps now reach Python via the on_click callback (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 hardcoded true.

AutoStart

  • Android boot autostart is now wired through the practical_autostart service (previously a Linux-XDG-only stub).

Tests & examples

  • Added tests for the on_click adapter, enabled query, and mobile service delegation.
  • Updated examples to demonstrate tap callbacks, payload, and permission request.