Open link to app store outside app

Hi,

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:
window.open(‘market://details?id=com.myapp.id’, ‘_blank’, ‘location=yes’);
window.open(‘market://details?id=com.myapp.id’, ‘_system’, ‘location=yes’);

With InAppBrowser:
new InAppBrowser(‘market://details?id=com.myapp.id’, ‘_blank’, ‘location=yes’);
new InAppBrowser(‘market://details?id=com.myapp.id’, ‘_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?