-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problems with onReceivedHttpAuthRequest when initialData is used #201
Comments
Some more information. So our <link href="wp-content/themes/imt/vendor.css" rel="stylesheet" type="text/css"/>
<link href="wp-content/themes/imt/style.css" rel="stylesheet" type="text/css"/>
<script src="wp-content/themes/imt/js/vendor.js" type="text/javascript"></script>
<script src="wp-content/themes/imt/js/vendor-untouched.js" type="text/javascript"></script>
<script src="wp-content/themes/imt/js/templates.js" type="text/javascript"></script>
<script src="wp-content/themes/imt/js/config.js" type="text/javascript"></script>
<script src="wp-content/themes/imt/js/translations.js" type="text/javascript"></script>
<script src="wp-content/themes/imt/js/scripts.js" type="text/javascript"></script> The We seem to be getting the |
Can you post also error logs about:
Thanks! Can you test also on iOS please? Does it work or do you have the same errors like on Android? |
All the printed errors are the same. We get the following error as many times as there are
iOS seems to completely crash. All I'm getting is a "lost connection to device" message. This happens with and without the |
For iOS, lauch it from Xcode and post the Xcode logs here please. Thanks! |
Now it should be fixed in the new version 2.1.0! For Android, you need to set Instead, I tested the same thing on iOS but to me it works fine! Is your Xcode version |
Description
Hi,
first of all, thank you for adding yet another hugely useful feature: the
onReceivedHttpAuthRequest
hook 🥇However, I seem to be having problems using it with
initialData
. I am able to open aninitialUrl
that is protected with basic auth (so ouronReceivedHttpAuthRequest
hook seems to work), but withinitialData
I'm getting the stack trace attached below. This happens on android, haven't tested iOS yet.The
initialData
does have abaseUrl
set, and it works just fine if we remove basic auth from a resource the initial page downloads. When we enable basic auth for the said resource and define theonReceivedHttpAuthRequest
, we get the error.Steps to reproduce
InAppWebView
with anyinitialData
that containsscript
orlink
tags that require basic authentication.onReceivedHttpAuthRequest
Stacktrace/Logcat
I may be doing something horribly wrong though 😄 Please let me know if you need anything else from me.
Thanks for your help!
The text was updated successfully, but these errors were encountered: