# Flutter's own keep rules are added automatically by the Flutter Gradle plugin.

# WebRTC / LiveKit: native code calls Java classes via JNI by name,
# so nothing under org.webrtc may be stripped or renamed.
-keep class org.webrtc.** { *; }
-dontwarn org.webrtc.**
-keep class livekit.org.webrtc.** { *; }
-dontwarn livekit.org.webrtc.**

# flutter_local_notifications deserializes scheduled notifications with Gson
# using reflection; stripped type adapters crash on the next reboot/schedule.
-keep class com.dexterous.flutterlocalnotifications.** { *; }
-keepattributes Signature
-keepattributes *Annotation*

# Flutter references Play Core for deferred components, which this app
# doesn't ship — silence the missing-class errors from R8.
-dontwarn com.google.android.play.core.**
