I am using this piece of code to launch my app from a link.
Keep in mind if you want run the app from Google Chrome you should do that in another way .