th3rdwave / react-native-safe-area-context

A flexible way to handle safe area insets in JS. Also works on Android and Web!
MIT License
2.08k stars 191 forks source link

[!] The platform of the target `AwesomeMacOS-macOS` (macOS 10.15) is not compatible with `react-native-safe-area-context (4.10.4)`, which does not support `macOS`. #503

Open SolankiYogesh opened 2 weeks ago

SolankiYogesh commented 2 weeks ago

i am trying to run react navigation with react-native-safe-area-context but its not working in latest stable react native mac os 0.71.0

image

Version :-

    "react-native-macos": "^0.71.0-0",
    "react-native-safe-area-context": "^4.10.4"
    "react": "18.2.0",
    "react-native": "0.71.0",
jacobp100 commented 2 weeks ago

It doesn't actually support macOS via react-native-macos. You can use Catalyst and that does work. We'd also accept a PR to add support for macOS's AppKit. It's very unlikely to get picked up by anyone else, so if you want this, you are absolutely encouraged to take a shot yourself - I can be on hand if you have any questions