appandflow / appandflow/react-native-safe-area-context

iOS Only - "Unimplemented Component: <RNCSafeAreaProvider>" Message on Screen (again)

Abierto
#598 8 comentarios 5 reacciones 0 asignados Ver en GitHub
help wanted Platform: iOS
Lenguaje dominante
TypeScript
Estrellas
2.8k
Forks
258
Merge medio
3 d 1 h
PR fusionados (30 d)
2

Descripción

### Description

Hi,

I just created a new react native app over the weekend, and as is usually the case, I quickly ran into an issue.

I'm getting the same issue as here: https://github.com/AppAndFlow/react-native-safe-area-context/issues/549

Fails with:

Image

But unlike in that issue, I tried:

1. clearing cache: npx react-native start --reset-cache
2. Removing Podfile.lock & workspace & pod install & then rebuilding the workspace via xcode.

and nothing seems to work... :(

So very stuck at this point...

Really hope someone can help with this 🙏 🙏 🙏

### Steps to reproduce

Steps to Reproduce:

- Set up a React Native project with the following dependencies:
- React Native: 0.81.3
- @react-navigation/bottom-tabs: 7.2.1
- @react-navigation/elements: 2.2.6
- @react-navigation/native: 7.0.15
- @react-navigation/native-stack: ^7.2.1
- react-native-safe-area-context: ^5.3.0
- react-native-screens: 4.9.1

Wrap the navigation container in as recommended in the App.js setup:

```
export const App = () => (





);

const RootStack = () => (



);

function HomeTabs() {
return (



);
}

export const Layout = ({ children }) => {
const scrollViewRef = useRef(null);

return (
<>


{
scrollViewRef.current = ref;
}}
contentInsetAdjustmentBehavior="automatic"
style={styles.scrollView}
>
{children}



);
};

export const DashboardScreen = () => (




);
```

Build and run the app on iOS.

### Snack or a link to a repository

https://github.com/saimonmoore/bookmarker/tree/main/app/nx/bookmarker/apps/mobile

### Safe Area Context version

5.3.0

### React Native version

0.81.3

### Platforms

iOS

### Architecture

Fabric (New Architecture)

### Build type

Debug mode

### Device

iOS simulator

### Device model

_No response_

### Acknowledgements

Yes

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.