App crashes in In-App Messaging card type with empty message body

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: 3.5.3
  • Firebase Component: In-App Messaging
  • Component version: 19.0.2

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

Relevant Code:

1. Compose a campaign with Card Type layout
2. Set optional message body to empty
3. App crashes

1 possible answer(s) on “App crashes in In-App Messaging card type with empty message body

  1. Since this has started happening recently without any code change in the app, I am suspecting that something has changed on their backend. Their backend is not sending the data to clients in the expected format which is causing this crash.
    I think there are two parts to this issue:

    1. Fix the client SDK to handle the non empty string errors
    2. Fix the backend at priority so that no new users are impacted.