Restfb lib on android with proguard -
i'm using restfb library in android project, works super fine. when try run proguard it, it's completed successfully, when running app
com.restfb.exception.facebookjsonmappingexception: must specify java type map to. @ com.restfb.defaultjsonmapper.tojavalist(unknown source)
my proguard-project.txt contains lines
-keep class com.restfb.** { *; } -keep interface com.restfb.** { *; }
am missing something?
the json mapper uses introspection find generic type information. proguard's obfuscation step removes default, because virtual machine doesn't need it, can preserve it:
-keepattributes signature
Comments
Post a Comment