12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. platform :ios, '9.0'
  2. target 'RNPermissionsExample' do
  3. # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  4. # use_frameworks!
  5. pod 'React', :path => '../node_modules/react-native', :subspecs => [
  6. 'Core',
  7. 'CxxBridge', # Include this for RN >= 0.47
  8. 'DevSupport', # Include this to enable In-App Devmenu if RN >= 0.43
  9. 'RCTText',
  10. 'RCTNetwork',
  11. 'RCTWebSocket', # Needed for debugging
  12. 'RCTAnimation', # Needed for FlatList and animations running on native UI thread
  13. ]
  14. # Explicitly include Yoga if you are using RN >= 0.42.0
  15. pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
  16. # Third party deps podspec link
  17. pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  18. pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  19. pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
  20. # Import RNPermissions from the parent folder
  21. pod 'RNPermissions', :path => '../../ios', :subspecs => [
  22. 'Core',
  23. # Uncomment wanted permissions
  24. # 'BluetoothPeripheral',
  25. 'Calendars',
  26. 'Camera',
  27. 'Contacts',
  28. # 'FaceID',
  29. # 'LocationAlways',
  30. # 'LocationWhenInUse',
  31. # 'MediaLibrary',
  32. # 'Microphone',
  33. # 'Motion',
  34. # 'Notifications',
  35. # 'PhotoLibrary',
  36. # 'Reminders',
  37. # 'Siri',
  38. # 'SpeechRecognition',
  39. # 'StoreKit',
  40. ]
  41. end
  42. target 'RNPermissionsExample-tvOS' do
  43. # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  44. # use_frameworks!
  45. end