I am facing the exact same problem. My intent is included as a target in the widget extension, capture extension and main app. When I press on the control in control center or the lock screen, the main app opens and the intent's perform function is executed.
What am I missing?