I think how you will open the containing app depends on your implementation and from where and how you are trying to do so. Using a custom URL scheme is the way I do it.
I can open my containing app from a popup, content script, bundled html page or background by calling the window.open method like so:
window.open("customURLscheme");
Topic:
Safari & Web
SubTopic:
General
Tags: