1
0
Fork 0
phizclip-react-native-demo/ios/Podfile

45 lines
1.2 KiB
Plaintext
Raw Normal View History

2021-08-31 14:18:30 +08:00
require_relative '../node_modules/react-native/scripts/react_native_pods'
2020-04-13 19:06:07 +08:00
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
2022-04-21 13:55:54 +08:00
permissions_path = '../node_modules/react-native-permissions/ios'
2021-08-31 14:18:30 +08:00
platform :ios, '11.0'
2020-04-13 19:06:07 +08:00
2022-04-21 13:55:54 +08:00
target 'rnSDKDemo' do
2021-08-31 14:18:30 +08:00
config = use_native_modules!
2020-04-13 19:06:07 +08:00
2022-04-21 13:55:54 +08:00
2021-08-31 14:18:30 +08:00
use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change `false` to `true` and then install pods
:hermes_enabled => false
)
2020-04-13 19:06:07 +08:00
2022-04-21 13:55:54 +08:00
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
pod 'react-native-camera', :path => '../node_modules/react-native-camera'
pod 'RNPermissions', :path => '../node_modules/react-native-permissions'
pod 'react-native-background-timer', :path => '../node_modules/react-native-background-timer'
target 'rnSDKDemoTests' do
2020-04-13 19:06:07 +08:00
inherit! :complete
# Pods for testing
end
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
2021-08-31 14:18:30 +08:00
# you should disable the next line.
use_flipper!()
2020-04-13 19:06:07 +08:00
2021-08-31 14:18:30 +08:00
post_install do |installer|
react_native_post_install(installer)
2022-04-21 13:55:54 +08:00
__apply_Xcode_12_5_M1_post_install_workaround(installer)
2020-04-13 19:06:07 +08:00
end
end