cordova-plugin-market icon indicating copy to clipboard operation
cordova-plugin-market copied to clipboard

pop up error 'to view this content, install and set up web browsing app' on Android device

Open brianwwk opened this issue 5 years ago • 1 comments

I'm trying to use the plugin in my ionic app to redirect user to market place (Google Play, App Store). It works on IOS, but not work on Android. It shows the error 'to view this content, install and set up web browsing app' when my app redirect user to Google Play, anyone has idea on this?

// coding import { Market } from '@ionic-native/market/ngx'; ....... constructor(private market: Market) ....... openMarket(){ this.market.open('https://play.google.com/store/apps/details?id=com.nextmedia'); }

brianwwk avatar Mar 26 '19 07:03 brianwwk

You should pass package, in your case com.nextmedia not whole link.

Cubaza avatar Jul 08 '20 08:07 Cubaza