I have been trying to do something similar to truecaller app, where my app is supposed to show a screen after a call gets hung up. Was achieving this by registering androi
androi
You have only one solution, use a foreground service and register the broadcast receiver in the service.