2020-09-06 10:34:54 +05:00
|
|
|
require_relative '../node_modules/react-native/scripts/react_native_pods'
|
2019-11-15 01:17:59 +05:00
|
|
|
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
|
|
|
|
|
|
2020-09-06 10:34:54 +05:00
|
|
|
platform :ios, '10.0'
|
2020-04-09 13:00:08 +05:00
|
|
|
|
2020-10-12 11:25:23 +05:00
|
|
|
permissions_path = '../node_modules/react-native-permissions/ios'
|
2020-09-06 11:39:43 +05:00
|
|
|
|
2020-10-12 11:25:23 +05:00
|
|
|
pod 'Base64'
|
|
|
|
|
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary.podspec"
|
2020-11-23 11:25:51 +05:00
|
|
|
pod 'MMKV'
|
2020-04-28 18:12:46 +05:00
|
|
|
target 'Notesnook' do
|
2020-09-06 10:34:54 +05:00
|
|
|
config = use_native_modules!
|
2019-11-15 01:17:59 +05:00
|
|
|
|
2020-09-06 10:34:54 +05:00
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
2020-04-28 18:12:46 +05:00
|
|
|
|
2020-11-23 11:25:51 +05:00
|
|
|
|
2020-04-28 18:12:46 +05:00
|
|
|
target 'NotesnookTests' do
|
2020-04-09 13:00:08 +05:00
|
|
|
inherit! :complete
|
2019-11-15 01:17:59 +05:00
|
|
|
# Pods for testing
|
|
|
|
|
end
|
|
|
|
|
|
2020-04-09 13:00:08 +05:00
|
|
|
# Enables Flipper.
|
|
|
|
|
#
|
|
|
|
|
# Note that if you have use_frameworks! enabled, Flipper will not work and
|
|
|
|
|
# you should disable these next few lines.
|
2020-11-18 18:16:09 +05:00
|
|
|
# use_flipper!
|
|
|
|
|
# post_install do |installer|
|
|
|
|
|
# flipper_post_install(installer)
|
|
|
|
|
# end
|
2019-11-15 01:17:59 +05:00
|
|
|
end
|
|
|
|
|
|
2020-04-28 18:12:46 +05:00
|
|
|
target 'Notesnook-tvOS' do
|
|
|
|
|
# Pods for Notesnook-tvOS
|
2019-11-15 01:17:59 +05:00
|
|
|
|
2020-04-28 18:12:46 +05:00
|
|
|
target 'Notesnook-tvOSTests' do
|
2019-11-15 01:17:59 +05:00
|
|
|
inherit! :search_paths
|
|
|
|
|
# Pods for testing
|
|
|
|
|
end
|
|
|
|
|
end
|