shripalsoni04 / nativescript-webview-interface

Plugin for bi-directional communication between webView and android/ios
MIT License
89 stars 35 forks source link

Where's the source to WebViewInterface.jar? #10

Closed roblav96 closed 7 years ago

roblav96 commented 7 years ago

I'm curious how you've made this work. Calling addJavascriptInterface from nativescript does nothing.

shripalsoni04 commented 7 years ago

You can check the android WebViewInterface source code at https://github.com/shripalsoni04/android-webview-interface and code of JavascriptInterface at https://github.com/shripalsoni04/android-webview-interface/blob/master/app/src/main/java/com/shripalsoni/natiescriptwebviewinterface/WebViewInterface.java

Hope this will help.

roblav96 commented 7 years ago

@shripalsoni04 awesome! thanks mate!