Open
Description
I'm encountering an error when attempting to display in-app messages with images using the Firebase In-App Messaging SDK. The error message is:
View class com.google.firebase.inappmessaging.display.internal.ResizableImageView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).
The app currently uses a Material Design theme (Theme.MaterialComponents), and this error occurs when Firebase In-App Messaging attempts to display an image-based message, I have also tried to set the theme to AppCompat and nothing different.
Steps to reproduce the behavior:
- Integrate Firebase In-App Messaging into an Android project.
- Use a Theme.MaterialComponents or a non-AppCompat theme in the app.
- Configure and send an in-app message with an image via the Firebase Console.
- Observe the error in logcat.
Environment:
- Firebase BOM version: 33.4.0
- Android Studio version: [Android Studio Koala | 2024.1.1 Patch 2]
- Android device/emulator: Poco F3 android 13