42 lines
1.1 KiB
Ruby
42 lines
1.1 KiB
Ruby
platform :ios, '11.0'
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
target 'iLink' do
|
|
# Pods for iLink
|
|
config = use_native_modules!
|
|
|
|
use_react_native!(
|
|
:path => config[:reactNativePath],
|
|
# to enable hermes on iOS, change `false` to `true` and then install pods
|
|
:hermes_enabled => false
|
|
)
|
|
|
|
pod 'react-native-maps', :path => '../node_modules/react-native-maps'
|
|
|
|
permissions_path = '../node_modules/react-native-permissions/ios'
|
|
pod 'Permission-Camera', :path => "#{permissions_path}/Camera"
|
|
|
|
# pod 'lottie-ios', :path => '../node_modules/lottie-ios'
|
|
pod 'lottie-react-native', :path => '../node_modules/lottie-react-native'
|
|
pod 'lottie-ios', '~> 3.1.3'
|
|
|
|
target 'iLinkTests' do
|
|
inherit! :complete
|
|
# Pods for testing
|
|
end
|
|
|
|
use_native_modules!
|
|
end
|
|
|
|
# Enables Flipper.
|
|
#
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
# you should disable the next line.
|
|
use_flipper!()
|
|
|
|
post_install do |installer|
|
|
react_native_post_install(installer)
|
|
end
|
|
end
|