You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When turning the phone to horizontal view, the push notification does not change like it is supposed to do. @GustavoTCh please investigate and let us know why this is not working.
The text was updated successfully, but these errors were encountered:
In iOS, Firebase In-App Messages display correctly in both portrait and landscape modes. However, on Android, the card only respects the orientation at the time of app launch or when returning from background mode. Changing the orientation while the app is open does not adjust the card display. This issue was reported in 2022 (GitHub Issue #9936) and remains unresolved. I attempted several workarounds, but none succeeded. We may need to wait for an official fix from the Flutter-Firebase team.
Potential Solution: Configure the Android app to support portrait mode only.
Details: I attempted other configuration options and researched further, discovering that Flutter does not restart the activity when the orientation changes. This behavior is intended for optimization during rotation. However, the workaround I tried did not resolve the issue.
The following images show the app starting in landscape mode, where the popup displays correctly. However, when switching to portrait mode, the window layout becomes incorrect.
When turning the phone to horizontal view, the push notification does not change like it is supposed to do. @GustavoTCh please investigate and let us know why this is not working.
The text was updated successfully, but these errors were encountered: