For Android 13 and below OS version in Android, the safe area context properties using insets like padding top and padding bottom is not resolving the issue of header overlap inside the WebView. For iOS, its working fine.
React Native version:
"react-native": "0.79.2",
SafeArea Context lib version:
"react-native-safe-area-context": "^5.4.0",
<>
{sessionData ? (
<SafeAreaProvider
style={{
flex: 1,
paddingTop: Platform.OS === 'android' ? insets.top: 0,
paddingBottom: Platform.OS === 'android' ? insets.bottom : 0
}}
>
<KBWebview {...nativeProps} style={{ flex: 1 }} />
</SafeAreaProvider>
) : (
<View />
)}
</>
please guide.
For Android 13 and below OS version in Android, the safe area context properties using insets like padding top and padding bottom is not resolving the issue of header overlap inside the WebView. For iOS, its working fine.
React Native version:
"react-native": "0.79.2",
SafeArea Context lib version:
"react-native-safe-area-context": "^5.4.0",
please guide.