Skip to content

v1.3.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@fonkamloic fonkamloic released this 17 Jul 15:08
· 18 commits to development since this release

Beta for developer testing before the stable 1.3.0 release. Install explicitly:

dependencies:
  no_screenshot: ^1.3.0-beta.1

What is in this beta (PR #117)

  • New API: overlayOff() — idempotently disables whichever app-switcher overlay mode is active (image, blur, or color) without needing to know the current state (#115)
  • Behavior change: prevention-claims model. Prevention is now tracked as two separate claims on all six platforms: screenshotOff()/screenshotOn()/toggleScreenshot() own an independent claim, and an active overlay mode holds its own. Protection stays engaged while either claim is held, so mixed API sequences resolve fail-secure instead of silently dropping protection. Apps using only the plain API or only the overlay API behave exactly as before. Full delta list in the CHANGELOG
  • SecureWidget teardown and applyOverlayMode transitions now clear overlay modes correctly (no more overlay surviving unmount or persisting across restarts), and overlay-to-secure transitions keep prevention continuously engaged
  • Persisted state migrates automatically (one-shot) from older versions
  • CI now compiles Linux, Windows, and Android and runs the browser test suite on every push

What to test

If your app mixes screenshotOff()/screenshotOn() with overlay modes, verify your protection flows — especially any sequence that previously relied on screenshotOn() or an overlay toggle-off dropping all protection. Release both claims (overlayOff() + screenshotOn()) to fully disable protection.

Please report anything unexpected on #115 or a new issue.