-
Notifications
You must be signed in to change notification settings - Fork 3.1k
When I use "inline html", can not load js file #445
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
Comments
|
Hi @GreatAuk, Is loading the js file the only issue? |
Yes, loading the js file is only issue. The global variable(F2) is undefined |
Please connect to the webView by following the docs in the debugging session and see if there are any errors. |
Js file downloaded successfully,get a error : "ReferenceError: Can't find variable: F2" |
same issue. |
请问楼主,最后怎么解决的。 |
I’m seeing a problem that is maybe the same. I have a web view with inline html source and injectedJavaScript. The functions that I declare in that injected JavaScript are not available when I then try to call them using [edit] Please note that it works as expected on iOS. |
Same here, it works on ios, not on android |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Issue still persists in it is not possible to call/access any function/variables inserted with This is broken:
but when assigning them manually to
thanks for your tipp @svdo, however I think it would be better to put them under |
Still an issue on version 9.1.4. Workarounds work! |
Yeah you're probably right, can't verify right now but that makes sense. |
No description provided.
The text was updated successfully, but these errors were encountered: