shernova_ui 2.3.1
shernova_ui: ^2.3.1 copied to clipboard
Optional UI components for Shernova phone verification.
2.3.1 #
- Play Store compliance: removed
USE_FULL_SCREEN_INTENTpermission and dead full-screen notification return code. - Declared
android.hardware.telephonyasrequired=falseso tablets/Wi‑Fi devices are not excluded from Play listing.
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).