如何检测手机有没有安装某个应用程序?
来源:1-4 如何高效的学习本课程【送你一份高效的课程学习指南】

慕数据8224458
2022-06-01
用什么方法能够做到么?ios和安卓的做法有不一样的适配么?
写回答
1回答
-
CrazyCodeBoy
2022-06-02
可以通过url_launcher来实现:_launchURL() async {
const url = 'xxx'; // 这个xx就是唤起三方应用的重要因素
if (await canLaunch(url)) { // 判断当前手机是否安装某app. 能否正常跳转
await launch(url);
} else {
throw 'Could not launch $url';
} }022022-06-06
相似问题
真机突然不能安装flutter应用了
回答 2
在真机里面调试
回答 1