iOS 跳转App Store 评论、评分

526 阅读1分钟

www.jianshu.com/p/1d044d5dc…

url_launcher 跳转

if (await canLaunchUrl(Uri.parse('itms-apps://itunes.apple.com/app/id${appid}?action=write-review'))) {
  launchUrl(Uri.parse('itms-apps://itunes.apple.com/app/id${appid}?action=write-review'));
}else {
  Fluttertoast.showToast(msg: "设备暂不支持");
}