zero_tap_easy 0.1.1 copy "zero_tap_easy: ^0.1.1" to clipboard
zero_tap_easy: ^0.1.1 copied to clipboard

PlatformAndroid

Zero-tap sign-in restoration for Android. Silently recreate a signed-in session on a user's new device using Credential Manager Restore Credentials.

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.

0.1.1 #

Fixed #

  • Correct repository, homepage, and issue tracker URLs in package metadata.

0.1.0 #

Initial release.

Added #

  • ZeroTapEasy.isSupported() — Android 9 (API 28) and Google Play services 24220000 detection. Returns false rather than throwing on every other platform, so the package is safe to call from shared code.
  • ZeroTapEasy.createRestoreKey() — creates a restore key, automatically retrying with cloud backup disabled when the device has no Google backup or no screen lock, and reporting which happened via RestoreKeyCreation.usedCloudBackup.
  • ZeroTapEasy.getRestoreKey() — returns the WebAuthn assertion JSON, or null when the device holds no key.
  • ZeroTapEasy.clearRestoreKey() — for sign-out, account deletion, and server-side session invalidation.
  • Typed exceptions (ZeroTapUnsupportedException, ZeroTapE2eeUnavailableException, ZeroTapRequestJsonException, ZeroTapCancelledException) with stable error codes, replacing bare PlatformExceptions.
  • ZeroTapEasyPlatform — swappable for unit testing without a device.
  • Example app with integration tests and test fixtures for local testing without a relying-party server.

Known limitations #

  • Foreground (tier 2) restoration only. Background restoration via BackupAgent.onRestoreFinished() is not implemented yet.
  • Android only — by design.
6
likes
150
points
349
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Zero-tap sign-in restoration for Android. Silently recreate a signed-in session on a user's new device using Credential Manager Restore Credentials.

Repository (GitHub)
View/report issues

Topics

#authentication #android #credentials #passkeys #sign-in

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on zero_tap_easy

Packages that implement zero_tap_easy