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

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

Offen
#598 8 Kommentare 5 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted Platform: iOS
Vorherrschende Sprache
TypeScript
Sterne
2.8k
Forks
258
Ø Merge
3 T. 1 Std.
Gemergte PRs (30 T.)
2

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.