This Flutter plugin provides call screening functionality using Android's CallScreeningService. It allows you to intercept incoming calls and handle them accordingly, such as blocking or answering them.

Getting Started

Define your callback function

Future<CallScreenResponse> receivedCall(CallScreenInfo info) {
    debugPrint("Ya!, received call from phone number: ${}");
    return Future.value(CallScreenResponse(reject: true));

Once function is defined. Initialize the plugin

await CallScreenService.initialise(receivedCall);