there is no syntax for you to do this. But maybe some compromise solution might solve your problem.
1 you specify an action instead of a package
2, if you can not choose the first solution, you can make two browser_fallback_url.The first browser_fallback_url just directly send the intention to open the application B
source share