Skip to content

Instantly share code, notes, and snippets.

@chris-piekarski
Created December 11, 2013 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chris-piekarski/7915293 to your computer and use it in GitHub Desktop.
Save chris-piekarski/7915293 to your computer and use it in GitHub Desktop.
Android Webview JavaScript and Proguard
In the project proguard-project.txt file see:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
-keepclassmembers class com.me.MeWebViewHelper.MyJSInterface {
public *;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment