-
Notifications
You must be signed in to change notification settings - Fork 493
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
sendToBridge not working on Android #197
Comments
I was having the same issue. Seems to be an issue with Android and ES6 syntax that is specific to the WebView-Bridge extension. It worked once I changed reverted my code to ES5. Hope this quick fix works for you too! Stay awesome! |
@johnpaulmanoza have you fixed this? I am having the same issue. @MatthewAwesome your answer doesn't help at all. If you are not going to investigate specific cases, don't waste time posting generic answers. |
My solution to make it work: I am injecting some JS code to read cookies in WebViewBridge , and the injected code wasn't running. So I removed unnecessary code from my injectedJS and started to work.
|
@facuescobar I have the same problem,I use sendToBridge method send JSON string,I use JSON.parse to parse the JSON string in html,but it not working. how can i resolve this problem? |
This code works fine in iOS but not in Android 6.0 Device.
The text was updated successfully, but these errors were encountered: