Skip to main content

df_pwa_utils 0.5.2 copy "df_pwa_utils: ^0.5.2" to clipboard
df_pwa_utils: ^0.5.2 copied to clipboard

Web utilities for progressive web applications (PWA). No-ops on non-web platforms.

Changelog #

0.5.2 #

  • Merge branch 'main' into prod

0.5.1 #

  • ci: sync release workflows (scoped analyze, --no-example, guarded tests)

0.5.0 #

  • chore: standardize README and CI/CD workflows, remove donation links, update contact info and repository links
  • chore: resolve analyzer issues

0.4.1 #

  • feat: setToUrlHashStrategy() for opting back into '/#/...' URLs on static hosts; no-op on non-web.

0.4.0 #

  • breaking: WebNavigator.onPopState invokes callbacks with the app-relative Uri (base href stripped) instead of the raw URL.
  • breaking: Uri.pathAndQuery extension now includes the fragment when present.
  • fix: <base href> resolution handles absolute URLs (with scheme/host) and missing leading/trailing slashes.
  • fix: stripBaseHref matches when the path equals the base href without its trailing slash.
  • fix: PlatformNavigator.removeStateCallback on non-web now returns false (was incorrectly returning true).
  • perf: WebNavigator pop-state handler calls replaceState once per pop instead of once per registered callback.
1
likes
150
points
226
downloads

Documentation

API reference

Publisher

verified publisherdev-cetera.com

Weekly Downloads

Web utilities for progressive web applications (PWA). No-ops on non-web platforms.

Homepage
Repository (GitHub)
View/report issues

Topics

#path-strategy #web #pwa #url #utility

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, web

More

Packages that depend on df_pwa_utils