Cordova InAppBrowser - Open popups from web within

2019-07-04 21:37发布

Folks,

I have a mobile app that opens external URL links within the App by using InAppBrowser (IAB).

However, when the web I open in IAB contains a link that would normally open in a popup/second window, this doesn't get loaded/displayed.

Is this just not supported by IAB?

Thanks, Skull

1条回答
倾城 Initia
2楼-- · 2019-07-04 22:28

You need to override:

web.setWebChromeClient(new WebChromeClient(){new WebChromeClient (){}}

in your MainActivity.java.This will force all url to be open in your IAB.

查看更多
登录 后发表回答