123456789101112131415161718192021
  1. $root_path = "../.."
  2. $node_modules = "#{$root_path}/node_modules"
  3. $react_native_path = "#{$node_modules}/react-native"
  4. require_relative "#{$node_modules}/react-native/scripts/react_native_pods"
  5. require_relative "#{$node_modules}/@react-native-community/cli-platform-ios/native_modules"
  6. platform :ios, "10.0"
  7. target "SafeAreaViewExample" do
  8. use_react_native!(path: $react_native_path)
  9. pod "react-native-safe-area-context", :path => $root_path
  10. pod "RNCAsyncStorage", :path => "#{$node_modules}/@react-native-community/async-storage"
  11. pod "RNCMaskedView", :path => "#{$node_modules}/@react-native-community/masked-view"
  12. pod "RNGestureHandler", :path => "#{$node_modules}/react-native-gesture-handler"
  13. pod "RNReanimated", :path => "#{$node_modules}/react-native-reanimated"
  14. pod "RNScreens", :path => "#{$node_modules}/react-native-screens"
  15. end