jockeyjs
jockeyjs copied to clipboard
Android < 4.4 is not working with iframes
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
.
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.
Yes, shouldInterceptRequest works correctly. The thing with it is that it is called not on the main thread, but its trivial to overcome.