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

RNCSafeAreaProvider breaking on run time on ios while upgrading to RN 0.72.17

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

Beschreibung

While upgrading from rn-0.70.15 -> rn-0.72.17 getting below attached issue

```
Unhandled JS Exception: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

This error is located at:
in RNCSafeAreaProvider
in Unknown
in c
in RCTView
in Unknown
in Portal.Host
in Unknown
in f
in Z
in RCTView
in Unknown
in RCTView
in Unknown
in l, js engine: hermes
```

Tried to update the react-native-safe-area-context to `3.3.2` ,`4.7.4` and also `>=4.5.3 <4.8` as suggested by align-deps but nothing worked.

[package.json](https://github.com/user-attachments/files/17618312/package.json)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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