2020-07-14 11:19:02 +02:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2020-04-25 15:09:08 +02:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
2020-07-14 17:59:05 +02:00
|
|
|
platform :ios, '10.0'
|
2020-04-26 23:05:27 +02:00
|
|
|
|
2020-07-14 17:59:05 +02:00
|
|
|
target 'Campus' do
|
|
|
|
config = use_native_modules!
|
|
|
|
|
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
|
|
|
|
2020-04-28 08:22:31 +02:00
|
|
|
# Permissions
|
|
|
|
permissions_path = '../node_modules/react-native-permissions/ios'
|
|
|
|
|
|
|
|
pod 'Permission-Notifications', :path => "#{permissions_path}/Notifications.podspec"
|
|
|
|
pod 'Permission-Camera', :path => "#{permissions_path}/Camera.podspec"
|
|
|
|
|
2020-05-27 14:55:03 +02:00
|
|
|
# Enables Flipper.
|
|
|
|
#
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
|
|
# you should disable these next few lines.
|
2020-07-14 11:19:02 +02:00
|
|
|
# use_flipper!
|
|
|
|
# post_install do |installer|
|
|
|
|
# flipper_post_install(installer)
|
|
|
|
# end
|
2020-05-27 14:55:03 +02:00
|
|
|
|
2020-04-25 15:09:08 +02:00
|
|
|
end
|