Skip to main content

shernova_core 2.0.7 copy "shernova_core: ^2.0.7" to clipboard
shernova_core: ^2.0.7 copied to clipboard

Shernova Phone Verification API — core Flutter SDK (headless). Required package for Shernova integration.

2.0.7 #

  • watch() now stops on terminal failure states (failed / rejected) like shernova_ui already did, so a headless consumer polling a rejected or phone-mismatch session no longer loops forever.

2.0.6 #

  • Queued sessions: gateway_phone_number is now nullable (String?) and parses safely when every verification line is busy. Previously the hard cast crashed host apps with type 'Null' is not a subtype of type 'String' in type cast as soon as the server answered a create/poll with no assigned line.
  • Add queue_reason (none_online / country_unavailable / all_busy) and isQueued; isWaiting now covers both waiting and queued so the SDK keeps polling until promotion lands a line. mapShernovaStatus maps queued to the waiting status.
  • Add queued_body / queued_status / queued_card_label UI strings (English defaults; the API serves localized values) for the queue state on the waiting screen (shernova_ui 2.6.1+).

2.0.5 #

  • Add optional unconfirmed_title / unconfirmed_body UI strings for the gentle post-call "not confirmed yet" state on the waiting screen (shernova_ui 2.6.0+).

2.0.4 #

  • Add ShernovaError.isGatewayUnavailable and localizedMessage for gateway-down UX.
  • Add gatewayUnavailableBody (and related) to ShernovaUiStrings for shernova_ui 2.4.6+.

2.0.3 #

  • isVerified is false when failure_reason is phone_mismatch, including after webhook completed.

2.0.2 #

  • Add busy_retry_status and busy_retry_hint UI strings (API + defaults) for automatic retry when the verification line is busy.

2.0.1 #

  • Parse ui_theme from /v1/sdk/token (logo_url, logo/footer sizes) for server-driven SDK branding without app rebuilds.

2.0.0 #

  • Breaking: Package renamed from shernova to shernova_core.
  • Import: package:shernova_core/shernova_core.dart
  • Test keys now use real gateways (API-side); no mock gateway or Simulate Ring.

1.0.8 #

Previous releases published as shernova on pub.dev.

0
likes
0
points
366
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

Shernova Phone Verification API — core Flutter SDK (headless). Required package for Shernova integration.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, http

More

Packages that depend on shernova_core