I am using Firestore for my Android project and I am using the following code to convert the fetched document to a custom data class
val userData = user.toObject(UserData::class.java)!!
Now this line works perfectly when no code obfuscation is happening, however, with obfuscation, this line does not fail but rather does not copy the user
document data to the userData
. so I think the issue might be with Firestore and code obfuscation.
Does anyone else have had this issue before?