Open
Description
Hey,
I've noticed that the SafeAreaView is not working on the Pixel 7 emulator. Any ideas on how it might be fixed? :)
Here's a screenshot:

Code:
import React from 'react'
import { SafeAreaProvider, SafeAreaView, useSafeAreaInsets } from 'react-native-safe-area-context'
import { Text, View } from 'react-native'
const TestComponent = () => {
const insets = useSafeAreaInsets()
console.log('insets', insets) // LOG insets {"bottom": 0, "left": 0, "right": 0, "top": 0}
return (
<SafeAreaView>
<View>
<Text>Here Android notch Pixel 7 Here Android notch Pixel 7 Here Android notch Pixel 7</Text>
</View>
</SafeAreaView>
)
}
export const App = (): JSX.Element => {
return (
<SafeAreaProvider>
<TestComponent />
</SafeAreaProvider>
)
}
Metadata
Metadata
Assignees
Labels
No labels