【发布时间】:2017-08-02 18:04:41
【问题描述】:
我正在使用 Cordova 7.0.1 版,我想使用 webintent,当我尝试像这样安装时
cordova 插件添加https://github.com/Initsogar/cordova-webintent.git
我收到这个错误
我正在尝试从其他应用程序接收到我的科尔多瓦应用程序的 url,我正在遵循的代码就是这个。
window.plugins.webintent.getExtra(window.plugins.webintent.EXTRA_TEXT, function (url) {
alert(url);
console.log("coming");
}, function() { //Fail
alert ("error");
});
当我执行时,我收到了这个错误 错误:找不到 :: WebIntent :: getExtra 的执行代理
PS:我知道这个URL不起作用,有没有其他方法可以安装Web Intent
【问题讨论】:
-
如果用户拉取了repo,你需要look for a mirror.
-
其他链接也有同样的问题
标签: javascript android cordova cordova-plugins webintents