skip to Main Content

React native – I want to use useSafeAreaInsets in the expo to get the paddingbottom, but I get an error

import { SafeAreaProvider, useSafeAreaInsets } from 'react-native-safe-area-context'; import * as SplashScreen from 'expo-splash-screen'; SplashScreen.preventAutoHideAsync(); export default function App() { const insets = useSafeAreaInsets(); return ( <SafeAreaProvider> <View style={{ flex: 1, }}> <WebView ... /> </View> </SafeAreaProvider> ); An error occurs.…

VIEW QUESTION

All Images of my Expo React Native App disappeared

I was trying to solve : Invariant Violation: "main" has not been registered Uninstalled react-native-gesture-handler, react-native-reanimated, node_modules and package-lock before reinstalling everything (npm & npx expo) Now i can start the app but all my local images disappeared That's how…

VIEW QUESTION
Back To Top
Search