Using cordova plugins in InAppBrowser

2019-09-03 00:23发布

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条回答
Lonely孤独者°
2楼-- · 2019-09-03 00:58

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.

查看更多
登录 后发表回答