Proguard rules for Mathjax?
gayathri-nair03 opened this issue · 3 comments
MathJax does not render when I use proguard in my release app. What's the workaround for this?
I'm guessing you mean the Java tool in the context of Android app development. We haven't heard about any issues but we can't really help with Android development. If you can't provide more details on why MathJax fails, I'd suggest to ask on a more general forum about , e.g., stackoverflow.
Hi @pkra : Thanks for the quick response. Anyway, I solved this issue. Had to add a few Proguard specific rules for the Android app:
-keepclassmembers class fqcn.of.javascript.interface.for.webview {
public *;
}
-keepclassmembers class * {
@android.webkit.JavascriptInterface ;
}
Glad to hear you could fix it. And thank you for sharing it here, too, @gayathri-nair03!