Open link to app store outside app


I am trying to link to my app in the Play Store or Amazon Appstore. No matter what I have tried, the store is always opened inside my app. What I have tried so far:
Without InAppBrowser:‘market://details?’, ‘_blank’, ‘location=yes’);‘market://details?’, ‘_system’, ‘location=yes’);

With InAppBrowser:
new InAppBrowser(‘market://details?’, ‘_blank’, ‘location=yes’);
new InAppBrowser(‘market://details?’, ‘_system’, ‘location=yes’);

How do I get it to launch outside my app?

I have the same issue. Did you find a way to do it?