Skip to content

Commit 919dea3

Browse files
committed
fix: add missing ProGuard rules for LiveObjects plugin
Add rules for Gson serializers and reflection used during plugin initialization.
1 parent 6a601bb commit 919dea3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

android/proguard.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
-keep public class io.ably.lib.transport.WebSocketTransport$Factory {*;}
22
-keep class io.ably.lib.types.** {*;}
3+
-keep class io.ably.lib.objects.*ObjectsPlugin {*;}
4+
-keep class io.ably.lib.objects.serialization.*Serializer {*;}
5+
-keep class io.ably.lib.objects.ObjectsJsonSerializer {*;}
6+
37
-keep class org.msgpack.core.** {*;}
48
-keepclasseswithmembers class io.ably.lib.rest.Auth** {*;}
59
-keep class com.google.gson.** {*;}

0 commit comments

Comments
 (0)