【问题标题】:Cordova web intent Plugin Not working for version 7.0.1Cordova Web Intent 插件不适用于 7.0.1 版
【发布时间】: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


【解决方案1】:

该存储库不再可用。

我可以从https://github.com/cordova-misc/cordova-webintent成功获取插件

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-10-30
    • 1970-01-01
    • 2018-11-04
    • 2015-09-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多