网易云

Ionic实战视频教程(跨平台): https://www.itying.com/goods-1067.html

Flutter实战视频教程(跨平台): https://www.itying.com/goods-1176.html

Launch Review

Contents

Assists in leaving user reviews/ratings in the App Stores.

  • Launches the platform's App Store page for the current app in order for the user to leave a review.
  • On iOS (10.3 and above) invokes the native in-app rating dialog which allows a user to rate your app without needing to open the App Store.
https://github.com/dpa99c/cordova-launch-review

联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic Launch Review插件的安装(Installation)

ionic cordova plugin add cordova-launch-review npm install @ionic-native/launch-review
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/launch-review

Ionic Launch Review插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic Launch Review插件的用法(Usage)

import { LaunchReview } from '@ionic-native/launch-review/ngx';

constructor(private launchReview: LaunchReview) { }

...

this.launchReview.launch()
  .then(() => console.log('Successfully launched store app');

if(this.launchReview.isRatingSupported()){
  this.launchReview.rating()
    .then(() => console.log('Successfully launched rating dialog'));
}