Skip to content
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

Unable to call JavaScript Method from Chromium webView #11

Closed
ani29 opened this issue Jan 22, 2014 · 3 comments
Closed

Unable to call JavaScript Method from Chromium webView #11

ani29 opened this issue Jan 22, 2014 · 3 comments

Comments

@ani29
Copy link

ani29 commented Jan 22, 2014

I tried calling webView.loadUrl("javascript : TestJavaScripMethod() ") ,
where TestJavaScripMethod is java script methiw defined in loaded HTML. then my app is crashing with error "Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 31909 (JavaBridge)" in logcat

It works fine with android default webview, but it is not working with chromium webview

@ani29
Copy link
Author

ani29 commented Feb 3, 2014

I am getting crash when there is a javascript alert in my java script method.

@MSDevs
Copy link

MSDevs commented Mar 25, 2014

How did you solve it?

@ani29
Copy link
Author

ani29 commented Mar 25, 2014

I have used this : webView.loadUrl("javascript:sample()");

where sample() is java script function created inHTML

Aniruddh Rathore

On Tue, Mar 25, 2014 at 6:41 PM, MSDevs notifications@github.com wrote:

How did you solve it?

Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-38561853
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants