Skip to content

Commit cc37e52

Browse files
authored
Update proguard-rules.txt
```-keep class com.microsoft.** { *; }``` keeps too much. I added a new rule that keeps the names of the the JSON-backed classes.
1 parent 4e099ce commit cc37e52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/proguard-rules.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
-keep class com.microsoft.** { *; }
1+
# Keep the names of JSON-serializable objects.
2+
-keepnames public class * implements com.microsoft.graph.serializer.IJsonBackedObject
23

34
## GSON 2.2.4 specific rules ##
45
# Source: https://github.com/google/gson/blob/master/examples/android-proguard-example/proguard.cfg

0 commit comments

Comments
 (0)