Podfile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 'atlas' 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. pod 'react-native-voice', :path => '../node_modules/@react-native-community/voice'
  13. target 'ReactMapDemoTests' do
  14. inherit! :complete
  15. # Pods for testing
  16. end
  17. # Enables Flipper.
  18. #
  19. # Note that if you have use_frameworks! enabled, Flipper will not work and
  20. # you should disable the next line.
  21. use_flipper!()
  22. post_install do |installer|
  23. react_native_post_install(installer)
  24. end
  25. # Flexbox Layout Manager Used By React Native
  26. pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga/Yoga.podspec'
  27. # React Native
  28. pod 'React', path: '../node_modules/react-native', subspecs: [
  29. # Comment out any unneeded subspecs to reduce bundle size.
  30. 'Core',
  31. 'DevSupport',
  32. 'RCTActionSheet',
  33. 'RCTAnimation',
  34. 'RCTBlob',
  35. 'RCTCameraRoll',
  36. 'RCTGeolocation',
  37. 'RCTImage',
  38. 'RCTNetwork',
  39. 'RCTPushNotification',
  40. 'RCTSettings',
  41. 'RCTTest',
  42. 'RCTText',
  43. 'RCTVibration',
  44. 'RCTWebSocket',
  45. 'RCTLinkingIOS'
  46. ]
  47. # Mapbox
  48. pod 'react-native-mapbox-gl', :path => '../node_modules/@mapbox/react-native-mapbox-gl'
  49. end