Skip to content

Instantly share code, notes, and snippets.

@Zhuinden
Created September 3, 2016 13:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zhuinden/6e132401ceeb8b4c279dc7cc7c6eca15 to your computer and use it in GitHub Desktop.
Save Zhuinden/6e132401ceeb8b4c279dc7cc7c6eca15 to your computer and use it in GitHub Desktop.
#realm
-keepnames public class * extends io.realm.RealmObject
-keep @io.realm.annotations.RealmModule class *
-keep class io.realm.** { *; }
-dontwarn javax.**
-dontwarn io.realm.**
#realm 0.84.1+
-keep class io.realm.annotations.RealmModule
-keep @io.realm.annotations.RealmModule class *
-keep class io.realm.internal.Keep
-keep @io.realm.internal.Keep class *
-dontwarn javax.**
-dontwarn io.realm.**
#realm 0.89.0+
-keep class io.realm.RealmCollection
-keep class io.realm.OrderedRealmCollection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment