jockeyjs icon indicating copy to clipboard operation
jockeyjs copied to clipboard

Android < 4.4 is not working with iframes

Open ashtuchkin opened this issue 10 years ago • 2 comments

After merging iframe PR (#19), the android bridge is not working for several events at once. Only for Android version < 4.4 (classic WebView). Seems related to: http://stackoverflow.com/a/19772677/325300

Probably, we'll need to use shouldInterceptRequest instead of shouldOverrideUrlLoading.

ashtuchkin avatar Jul 24 '14 13:07 ashtuchkin

Thanks @ashtuchkin. Can you try ~~either of those two methods~~ rather shouldInterceptRequest and test it for me? I unfortunately don't have an android device to test with at the moment.

tcoulter avatar Jul 24 '14 20:07 tcoulter

Yes, shouldInterceptRequest works correctly. The thing with it is that it is called not on the main thread, but its trivial to overcome.

ashtuchkin avatar Jul 28 '14 04:07 ashtuchkin