# Consumer ProGuard/R8 rules — applied automatically to apps that depend on
# this AAR.
#
# The @JavascriptInterface bridge is invoked reflectively by the WebView's
# JS engine, so its methods must survive minification. Keep the annotated
# members on any class we expose to JS.
-keepclassmembers class * {
    @android.webkit.JavascriptInterface <methods>;
}

# The public API surface is referenced by name in host code; keep it intact.
-keep class ai.lv3.emily.chat.EmilyChat { *; }
-keep class ai.lv3.emily.chat.EmilyChat$* { *; }
-keep class ai.lv3.emily.chat.EmilyChatActivity { *; }
-keep class ai.lv3.emily.chat.EmilyChatOptions { *; }
-keep class ai.lv3.emily.chat.EmilyChatOptions$* { *; }
-keep class ai.lv3.emily.chat.EmilyChatEvent { *; }
-keep class ai.lv3.emily.chat.EmilyChatEvent$* { *; }
