Open
Description
[READ] Step 1: Are you in the right place?
Yes
[REQUIRED] Step 2: Describe your environment
-
firebase-inappmessaging-display:20.1.1
-
Android Studio version: Arctic Fox | 2020.3.1 Patch3_
-
Firebase Component: _inappmessaging-display
-
Component version: _20.1.1
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
- In firebase inappmessaging console, create a card type message including a long text body, an image, and a button.
- On android client side, define activity property android:configChanges="orientation|screenSize|keyboardHidden" in AndroidManifest.xml
- Once received the message, rotate the device from portrait to landscape or vice versa.
- Compare the card view layout in portrait and landscape orientation, after rotation to landscape, the card layout disorders, the long text body unscrollable, and the button NOT displayed in viewport, see ScreenRecords below.
Relevant Code:
AndroidMainfest.xml
<activity
...
android:configChanges="orientation|screenSize|keyboardHidden" />