Skip to content

Commit 0e1047a

Browse files
author
Nick Rout
committed
Prevent DataStore crash
1 parent c1843bb commit 0e1047a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: app/proguard-rules.pro

+3-1
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@
104104
## BUG: Jetpack DataStore
105105
## https://issuetracker.google.com/issues/168580258
106106

107-
-keep class androidx.datastore.*.** {*;}
107+
-keepclassmembers class * extends androidx.datastore.preferences.protobuf.GeneratedMessageLite {
108+
<fields>;
109+
}

0 commit comments

Comments
 (0)