是否可以将Cordova插件用于本机应用程序WKWebView? [英] Is it possible to use Cordova plugin for native application WKWebView?

查看:91
本文介绍了是否可以将Cordova插件用于本机应用程序WKWebView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用本机IOS应用程序,但是WKWebView中的部分内容。现在,我正在尝试在WKWebView中使webrtc工作。我在Cordova中找到了一个可在本机WebRTC和js之间架起桥梁的插件,但是如何在本机应用程序中使用它并将其应用于WKWebView?

I'm working on native IOS application, but the part of the content in the WKWebView. And now I'm trying to make work webrtc in the WKWebView. I've found a plugin in Cordova which makes a bridge between native WebRTC and js, but how can I use it in my native application and apply it to my WKWebView?

这是此插件- https: //github.com/BasqueVoIPMafia/cordova-plugin-iosrtc

推荐答案

您必须创建一个混合应用程序才能这样做。

You have to create a hybrid application to do so.

请按照以下链接进行操作。

Please follow the below link in order to do so.

https://cordova.apache.org/docs/en/latest/guide/platforms/ios /index.html

祝一切顺利。如有其他问题,请随时与我联系。

All the best. Feel free to ping me for further issues.

这篇关于是否可以将Cordova插件用于本机应用程序WKWebView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆