A standard iOS status bar is 20px in height, so most apps have a 20px top spacer to compensate.
When the iOS in-call status is active, the status bar is effectively 40px in height, but iOS just shrinks the entire viewport to make room for the additional 20px. So the application doesn't have to, for example, increase its padding to 40px.
When react-native-in-app-notification hides the status bar for a few seconds while showing an alert, the shrunken viewport expands by 20px back to its default.
This causes the entire layout to shift when a notification is received, and then shift back when it disappears. This only occurs when the in-call status is active.
A standard iOS status bar is 20px in height, so most apps have a 20px top spacer to compensate.
When the iOS in-call status is active, the status bar is effectively 40px in height, but iOS just shrinks the entire viewport to make room for the additional 20px. So the application doesn't have to, for example, increase its padding to 40px.
When
react-native-in-app-notification
hides the status bar for a few seconds while showing an alert, the shrunken viewport expands by 20px back to its default.This causes the entire layout to shift when a notification is received, and then shift back when it disappears. This only occurs when the in-call status is active.