【问题标题】:LaunchNavigator availableApps is returning empty even if google maps is installed即使安装了谷歌地图,LaunchNavigator availableApps 也返回空
【发布时间】:2020-09-21 00:07:04
【问题描述】:

我有这个代码:

constructor(
    private launchNavigator: LaunchNavigator
) {

}

getApps() {
   this.launchNavigator.availableApps().then((result: any) => {
       console.log(result);
   });
}

当我在 ios 中尝试时,可用的应用程序是空的。在 Android 上运行良好。你能帮我一些建议吗?

【问题讨论】:

    标签: angular ionic-framework cordova-plugins angular8 ionic5


    【解决方案1】:

    作为 iPhone 用户,您不能将谷歌地图设为您的默认导航器。您唯一的选择是 Apple 地图。所以我认为你删除了 Apple Maps 并且功能 availableApps() 没有找到它。重新安装它,然后改用 Apple Maps 重试。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-16
      • 2016-07-25
      • 1970-01-01
      • 2017-06-24
      • 2018-05-22
      相关资源
      最近更新 更多