Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IONIC - How to open Application's feedback page in Play Store from Application using JavaScript

In my Ionic Application, I need to open my other application link in Play store.

I have tried following so far :

window.open('market://details?id=com.myapp.something', '_self')

And

window.open('market://details?id=com.myapp.something', '_system', 'location=no');

Above links opens in InnAppBrowser, I need them to open in playstore itself.

Any suggestions?

like image 411
Sangwin Gawande Avatar asked Aug 09 '17 09:08

Sangwin Gawande


1 Answers

I found that you can open it in your system Browser with Package ID and it will automatically redirect you to respective application store.

$window.open("https://play.google.com/store/apps/details?id=your-app-package-name&hl=en","_system");

This worked for me the best.

EDIT :

There is a plugin available which might help : Launch Review

like image 102
Sangwin Gawande Avatar answered Oct 06 '22 00:10

Sangwin Gawande