Detect that there is a call

I now looked into this more in detail…

as the phone call component is written, it unregisters the broadcast receiver which listens to changes of the phone state when the app closes…so the phonecall component can’t be used to listen to events in the background…

here are the blocks of the not working test project

however an extension could be written which continues to listen to phone state changes to also receive that event in the background

Taifun

2 Likes