miyabi / react-native-safe-area

React Native module to retrieve safe area insets for iOS 11 or later.
MIT License
113 stars 23 forks source link

How differ from RN shipped SafeAreaView #4

Open Noitidart opened 6 years ago

Noitidart commented 6 years ago

Hi there, is this needed even though RN ships with its own?

I see we can use on ScrollView etc, which I don't think the RN version does. So will you continue to maintain?

gilsonmandalogo commented 5 years ago

@Noitidart SafeAreaView by RN doesn't provide control over which edges will be safe or not.

Noitidart commented 5 years ago

Thanks @gilsonmandalogo !

Noitidart commented 5 years ago

In the RN version, which edge is always safe? Does it change as orientation changes?

gilsonmandalogo commented 5 years ago

@Noitidart

In the RN version, which edge is always safe?

Top and bottom on portrait and left, right and bottom on landscape (On iPhone X and its variants).

Does it change as orientation changes?

Yes, it does.