-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reference not found #5
Comments
Hi @ishamkdk, I don't know that we intended for that to work as it was built for a single-page web app, however upon load, you could modify the code to make the injection process happen again. |
Hi @bsneed, I was trying to inject JS every time when new page starts loading in onPageStarted() method. But this seem like not fixing the issue. Please let me know if you have any suggestion. Thanks in advance. |
I don't normally do Android development, just did that to prove it could be done. It's been maintained by others since, so if you're pointing to 'master', try the 'ao_update23' branch. This project is in need of being merged and branches cleaned up, so apologies for that. Anyway, they've made quite a few changes from my original implementation so check those out and see if they work better. |
@bsneed Thanks for the support. Looks like in ao_update23' branch code has been broken. Anonymous functions are no more working. |
Thanks for the breakthrough solution. Since the solution has JavaScript injection, when another page is opened, Webview will clear all the JavaScript for the previous page along with injected JavaScript.This is causing added JavaScript interface is not available.
The text was updated successfully, but these errors were encountered: