How can I send a notification when the app closed on incoming call event?

Viewed 77

I'm trying to send a notification to phone, when incoming call is being received.It works already when my app is opened and when it's in the background. How can I send this notification (which has methods onNotificationPressed) when the app is closed?

It seems that
local_notification_plugin sends scheduled notifications.

Alarm Manager Doesn't have on incoming call method.(at least I couldn't find it)

Other simillar questions usually recommends these 2 plugins, but none of them seems to help.

0 Answers
Related