📌  相关文章
📜  颤振打开 Play 商店应用程序 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:00.609000             🧑  作者: Mango

代码示例1
import 'package:url_launcher/url_launcher.dart';

try {
  launch("market://details?id=" + appPackageName);
} on PlatformException catch(e) {
    launch("https://play.google.com/store/apps/details?id=" + appPackageName);        
} finally {
  launch("https://play.google.com/store/apps/details?id=" + appPackageName);        
}