Using cordova plugins in InAppBrowser

ぃ、小莉子 提交于 2019-12-25 01:21:33

问题


Is it possible to use cordova plugins in a site in InAppBrowser? And when how? The deviceready event is never fired in the InAppBrowser?


回答1:


I believe it isn't possible to use Cordova plugins within a InAppBrowser. You are only limited to to the addEventListeners there are. And Cordova is not loaded within the InAppBrowser.

You can ofcourse inject Javascript, but that is also different than running a complete Cordova within the InAppBrowser.



来源:https://stackoverflow.com/questions/30622959/using-cordova-plugins-in-inappbrowser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!