shernova_core 2.0.7
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) likeshernova_uialready did, so a headless consumer polling a rejected or phone-mismatch session no longer loops forever.
2.0.6 #
- Queued sessions:
gateway_phone_numberis now nullable (String?) and parses safely when every verification line is busy. Previously the hard cast crashed host apps withtype 'Null' is not a subtype of type 'String' in type castas soon as the server answered a create/poll with no assigned line. - Add
queue_reason(none_online/country_unavailable/all_busy) andisQueued;isWaitingnow covers bothwaitingandqueuedso the SDK keeps polling until promotion lands a line.mapShernovaStatusmapsqueuedto the waiting status. - Add
queued_body/queued_status/queued_card_labelUI strings (English defaults; the API serves localized values) for the queue state on the waiting screen (shernova_ui2.6.1+).
2.0.5 #
- Add optional
unconfirmed_title/unconfirmed_bodyUI strings for the gentle post-call "not confirmed yet" state on the waiting screen (shernova_ui2.6.0+).
2.0.4 #
- Add
ShernovaError.isGatewayUnavailableandlocalizedMessagefor gateway-down UX. - Add
gatewayUnavailableBody(and related) toShernovaUiStringsforshernova_ui2.4.6+.
2.0.3 #
isVerifiedis false whenfailure_reasonisphone_mismatch, including after webhookcompleted.
2.0.2 #
- Add
busy_retry_statusandbusy_retry_hintUI strings (API + defaults) for automatic retry when the verification line is busy.
2.0.1 #
- Parse
ui_themefrom/v1/sdk/token(logo_url, logo/footer sizes) for server-driven SDK branding without app rebuilds.
2.0.0 #
- Breaking: Package renamed from
shernovatoshernova_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.