firebase / firebase/codelab-friendlychat-android

App crashes when enabling proguard

Open
#44 2 comments 0 reactions 1 assignee Claimed by @kroikie View on GitHub
Dominant language
Kotlin
Stars
278
Forks
344
Avg merge
3d 5h
Merged PRs (30d)
4

Description

Repro steps:
Set minifyEnabled to true

Expected behavior:
App continues to work

Actual behavior:
App crashes on startup with error like:
com.google.firebase.database.d: No properties to serialize found on class com.google.firebase.codelab.friendlychat.a

com.google.firebase.codelab.friendlychat.a is the FriendlyMessage class.

Annotating that class w/ @Keep locally works. Something like https://github.com/firebase/quickstart-android/blob/master/database/app/proguard-rules.pro may also work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.