diff --git a/WidgetDemo/proguard-project.txt b/WidgetDemo/proguard-project.txt deleted file mode 100644 index f2fe155..0000000 --- a/WidgetDemo/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/WidgetDemoproguard-project.md b/WidgetDemoproguard-project.md new file mode 100644 index 0000000..161f23a --- /dev/null +++ b/WidgetDemoproguard-project.md @@ -0,0 +1,23 @@ + # To enable ProGuard in your project, edit project.properties + +## to define the proguard.config property as described in that file. + +``` +Add project specific ProGuard rules here. +By default, the flags in this file are appended to flags specified +in ${sdk.dir}/tools/proguard/proguard-android.txt +You can edit the include path and order by changing the ProGuard +include property in project.properties. +``` +### For more details, [click here](http://developer.android.com/guide/developing/tools/proguard.html) + +## Add any project specific keep options here: + +If your project uses WebView with JS, uncomment the following +and specify the fully qualified class name to the JavaScript interface +``` +class: +-keepclassmembers class fqcn.of.javascript.interface.for.webview { + public *; +} +```