feat: DTMF dialpad
Some checks failed
/ build-stealth (push) Waiting to run
/ mirror (push) Waiting to run
/ build (push) Has been cancelled

This commit is contained in:
Florian Griffon 2025-05-07 23:35:47 +03:00
parent fa3e13ae33
commit 7ac8b3ca8f

View File

@ -208,6 +208,15 @@ class MainActivity : FlutterActivity() {
checkAndRequestDefaultDialer()
result.success(true)
}
"sendDtmfTone" -> {
val digit = call.argument<String>("digit")
if (digit != null) {
val success = MyInCallService.sendDtmfTone(digit)
result.success(success)
} else {
result.error("INVALID_ARGUMENT", "Digit is null", null)
}
}
else -> result.notImplemented()
}
}