Communication between live activities and main app

How to execute code on main app when interacted with a live activity, given that they are already interactable.

is there a way without opening the app?

what are the best ways?

Communication between live activities and main app
 
 
Q