Cordova应用程序启动器插件不适用于iOS使用uri启动iOS应用程序

问题描述 投票:0回答:1

如果安装在iPhone上,我需要帮助才能启动iOS应用。

用于此的插件是cordova-plugin-app-launcher”,它在android上运行良好,但在iOS上未启动该应用。我正在使用下面的代码,任何帮助将不胜感激。

window.plugins.launcher.launch({
                uri: "fb://",
            }, () => {
                console.log('Success')
            }, () => {
                console.log('Error')
            });
ios cordova launch
1个回答
0
投票

您可以检查“ canLaunch”方法并检查是否返回任何错误吗?

© www.soinside.com 2019 - 2024. All rights reserved.