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

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

Aperta
#598 8 commenti 5 reazioni 0 assegnatari Vedi su GitHub
help wanted Platform: iOS
Lingua principale
TypeScript
Stelle
2.8k
Fork
258
Merge medio
3g 1h
PR unite (30g)
2

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.