shernova_ui 2.4.6
shernova_ui: ^2.4.6 copied to clipboard
Optional UI components for Shernova phone verification.
2.4.6 #
- Professional busy-line handling: after a verification call ends, wait briefly for the server to record the ring; if the session is still waiting, auto-redial with backoff (up to 5 attempts) and show busy status/hint.
- Never auto-redial on verified, expired, rejected, or mismatch UI.
2.4.5 #
- After the user edits the number in the host app and verifies again, start the native call + auto-return service on every Android session — not only the first time EventChannel listening succeeds.
2.4.4 #
- Restore mismatch as a return-to-host flow: “Edit phone number” closes verification so the client app can change the signup number. The SDK no longer edits the phone itself (that left the host form on the old number and crashed afterVerified).
- Keep the mismatch screen above “Completing verification…”, and still return
nullinstead of throwingBad state.
2.4.3 #
- Keep the mismatch screen from flashing “Completing verification…”.
- Editing the phone number stays inside verification so auto-return still works; closing without success no longer throws
Bad state.
2.4.2 #
- Stop treating a hung-up verification call as a busy line. Wrong-number calls show the mismatch screen (or a same-SIM hint) and never auto-open the dialer.
2.4.1 #
- Do not treat a hung-up call as a busy line until the API has been polled. Calling from a different number shows the mismatch screen again instead of a busy retry.
2.4.0 #
- Automatic retry when the verification call hits a busy line, with status text from the API (
shernova_core2.0.2+). - Faster polling after returning from the dialer so verification completes more reliably.
- Fix missing
_burstTicksfield that prevented the package from compiling. - Restore
RETURN_CHANNEL_IDso the Android plugin compiles on all host apps.
2.3.0 #
- Server-driven branding: footer logo and sizes come from API
ui_theme(viashernova_core2.0.1+) — update logo/size on Shernova without client app rebuilds. Bundled asset remains offline fallback.
2.2.1 #
- Removed OEM setup dialog — no more scary MIUI/OPPO setup popup before verification.
- Call button always active — returning to the verification screen no longer dims "Call to verify" for 10–15 seconds.
- Silent auto-return — removed the "Verification call ended / Returning to the app…" heads-up notification; return uses background strategies only.
- Quieter foreground service — verification listen notification is low-importance (no pop-up).
2.2.0 #
- MIUI/Xiaomi auto-return overhaul: poll
TelephonyManager.callStateevery 250ms from foreground service (callbacks alone are unreliable on MIUI); aggressive multi-retry return viamoveTaskToFront,PendingIntentwith background-activity-start allowed (Android 14+), explicit Flutter activity component, full-screen intent, and return trampoline activity. - Native dial/call:
placeVerificationCall()usesACTION_CALLwhenCALL_PHONEis granted (best return behavior on OEM phones) elseACTION_DIALinstead of externalurl_launcher. - OEM setup prompt: one-time MIUI/OPPO/Vivo battery + autostart guidance before verification.
2.1.0 #
- Android auto-return (MIUI / OEM fix): foreground service keeps call-state listening alive while the dialer is open; fixed manifest receiver action (
PHONE_STATE_CHANGED);moveTaskToFront+ return trampoline for reliable automatic app restore after the verification call — no extra tap required on Samsung-class and Xiaomi-class devices when permissions are granted.
2.0.1 #
- Test and live verification screens now use the same UX: call button, copy, and user-facing copy.
- Removed developer-only sandbox banner and test-mode layout branch from
VerifyPhoneScreen. - Fixed bottom overflow on small screens with scrollable content.
2.0.0 #
- Depends on
shernova_core^2.0.0. - Removed hardcoded Simulate Ring fallback strings; test mode uses API UI strings (real call flow).