shernova_android_helpers
Optional Android plugin for Shernova that listens to phone call state and helps your app return automatically after the verification missed call.
Note: From shernova_ui 1.0.9+, Android auto-return is built into verifyPhone() — you usually do not need this package.
Requires the core shernova package. Works with or without shernova_ui.
import 'package:shernova_android_helpers/shernova_android_helpers.dart';
await ShernovaCallState.startListening(onState: (state) {
if (state == 'idle') {
// User finished the call — resume verification polling
}
});