Podfile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. require_relative '../node_modules/react-native/scripts/react_native_pods'
  2. require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
  3. platform :ios, '10.0'
  4. target 'ReactMapDemo' do
  5. config = use_native_modules!
  6. use_react_native!(
  7. :path => config[:reactNativePath],
  8. # to enable hermes on iOS, change `false` to `true` and then install pods
  9. :hermes_enabled => false
  10. )
  11. pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
  12. target 'ReactMapDemoTests' do
  13. inherit! :complete
  14. # Pods for testing
  15. end
  16. # Enables Flipper.
  17. #
  18. # Note that if you have use_frameworks! enabled, Flipper will not work and
  19. # you should disable the next line.
  20. use_flipper!()
  21. post_install do |installer|
  22. react_native_post_install(installer)
  23. end
  24. # Flexbox Layout Manager Used By React Native
  25. pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
  26. # React Native
  27. pod 'React', path: '../node_modules/react-native', subspecs: [
  28. # Comment out any unneeded subspecs to reduce bundle size.
  29. 'Core',
  30. 'DevSupport',
  31. 'RCTActionSheet',
  32. 'RCTAnimation',
  33. 'RCTBlob',
  34. 'RCTCameraRoll',
  35. 'RCTGeolocation',
  36. 'RCTImage',
  37. 'RCTNetwork',
  38. 'RCTPushNotification',
  39. 'RCTSettings',
  40. 'RCTTest',
  41. 'RCTText',
  42. 'RCTVibration',
  43. 'RCTWebSocket',
  44. 'RCTLinkingIOS'
  45. ]
  46. # Mapbox
  47. pod 'react-native-mapbox-gl', :path => '../node_modules/@mapbox/react-native-mapbox-gl'
  48. end