uae_pass_kit 0.0.2 copy "uae_pass_kit: ^0.0.2" to clipboard
uae_pass_kit: ^0.0.2 copied to clipboard

Unofficial UAE Pass Flutter plugin: app-to-app sign-in, profile retrieval, document sharing, PDF e-signature, token refresh and logout in pure Dart.

Changelog #

All notable changes to this project are documented in this file. The format is based on Keep a Changelog.

0.0.2 #

  • New UaePassKit constructor shortcuts, clientSecret and signingClientSecret — a single-parameter alternative to implementing UaePassTokenExchanger/UaePassSigningTokenExchanger yourself, building the direct exchangers for you against either staging or production. Passing both a shortcut and its exchanger, or neither, now throws a UaePassConfigurationException immediately instead of failing silently.
  • Fixed a real dependency bug: the url_launcher lower bound (>=6.0.0) allowed versions that predate the canLaunchUrl/launchUrl/LaunchMode functional API this plugin actually calls; raised to >=6.1.0.
  • Bumped all dependency version constraints to their current latest releases (web, plugin_platform_interface, webview_flutter, app_links, http, crypto, url_launcher, webview_flutter_platform_interface).
  • Relicensed from MIT to Apache-2.0.
  • Raised Android compileSdk to 37 and minSdk to 28; raised the iOS deployment target from 15.0 to 16.0 (podspec, Package.swift, and the example Xcode project).
  • Removed the mockito and mocktail test dependencies in favor of hand-written fakes; removed a stale Kotlin plugin test that exercised a method (getPlatformVersion) no longer present in the plugin.
  • Trimmed the pubspec.yaml description to pub.dev's recommended 60–180 character range.
  • README: moved Quick start to the top of the page; added an Environments section documenting how every URL/package-ID/scheme is derived per environment and cross-referencing the test coverage that guards against a staging/production mixup.
  • Example app: added an install-detection status indicator, a working refresh-token demo, a working e-signature demo against the public sandbox, and a wired-up (but backend-less) document-sharing demo that surfaces the real UaePassConfigurationException.

0.0.1 #

Initial release. Full feature set, no staged/partial functionality:

  • App-to-app sign-in via the documented WebView-interception flow, in pure Dart (no vendored native SDKs), with graceful cancel/decline handling.
  • Pluggable token exchange (UaePassTokenExchanger) so client_secret never has to ship in a mobile/web build; a direct sandbox-only implementation is included for local development.
  • Full profile retrieval (getProfile) covering the complete 37-field union found across both official native SDKs, including Arabic/English name pairs and home-address decomposition.
  • Token refresh (refreshAccessToken) — a capability neither official native SDK implements despite capturing refresh_token.
  • Real logout (logout) that clears local WebView session state and notifies UAE Pass's /idshub/logout endpoint.
  • Document sharing / proof-of-presentation (requestDocumentShare) as a cancelable Stream<DocumentShareStatus>, delegating the HMAC-signed backend calls to your own server via UaePassDocumentShareBackend.
  • PDF e-signature (signDocument) wrapping the esignsp/v2 flow, including multi-signer field placement and Emirates ID signature-image embedding.
  • Native install detection (isUaePassAppInstalled) with correct Android 11+ package-visibility manifest declarations shipped in the plugin itself.
  • Environment configuration limited to exactly staging and production — the only two UAE Pass issues credentials for.
  • Auto-generated, cryptographically random state per sign-in attempt.
  • Full public API documentation coverage.
0
likes
150
points
119
downloads

Documentation

API reference

Publisher

verified publishertherivanta.com

Weekly Downloads

Unofficial UAE Pass Flutter plugin: app-to-app sign-in, profile retrieval, document sharing, PDF e-signature, token refresh and logout in pure Dart.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

app_links, crypto, flutter, flutter_web_plugins, http, plugin_platform_interface, url_launcher, web, webview_flutter

More

Packages that depend on uae_pass_kit

Packages that implement uae_pass_kit