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

Native module can not be null error during using pods #11

Open sumanlamsal opened 5 years ago

rohity821 commented 5 years ago

@sumanlamsal were you able to solve this issue? Facing the same issue. What is the other way to get safe-area insets on react-native? Update: I solved the issue by manually linking RNSafeArea.xcodeproj to my xcodeproject and adding RNSafearealib.a to my xcodeproject's link binary with library.

miyabi commented 5 years ago

@sumanlamsal @rohity821 I couldn't reproduce the error, but I added some instructions to install using CocoaPods to readme. 357e0b98649f2af90dfcea3b9672f706d048af10