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'
|
2021-02-20 14:47:05 +05:00
|
|
|
pod 'Permission-PhotoLibrary', :path => "#{permissions_path}/PhotoLibrary/Permission-PhotoLibrary.podspec"
|
2020-12-29 14:47:17 +05:00
|
|
|
pod 'SexyTooltip',:git => 'https://github.com/prscX/SexyTooltip.git'
|
|
|
|
|
pod 'RNTooltips', :path => '../node_modules/react-native-tooltips/ios'
|
|
|
|
|
|
2021-01-08 12:31:26 +05:00
|
|
|
|
|
|
|
|
|
2020-04-28 18:12:46 +05:00
|
|
|
target 'Notesnook' do
|
2020-09-06 10:34:54 +05:00
|
|
|
config = use_native_modules!
|
2021-01-08 12:31:26 +05:00
|
|
|
pod 'MMKV'
|
2020-09-06 10:34:54 +05:00
|
|
|
use_react_native!(:path => config["reactNativePath"])
|
2021-01-08 12:31:26 +05:00
|
|
|
pod 'react-native-mmkv-storage', :path => '../node_modules/react-native-mmkv-storage/react-native-mmkv-storage.podspec'
|
2021-01-11 16:56:31 +05:00
|
|
|
|
2021-01-08 12:31:26 +05:00
|
|
|
# for share extension
|
|
|
|
|
target 'Make Note' do
|
|
|
|
|
use_native_modules!
|
2020-04-09 13:00:08 +05:00
|
|
|
inherit! :complete
|
2021-01-08 12:31:26 +05:00
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
target 'NotesnookTests' do
|
|
|
|
|
|
2019-11-15 01:17:59 +05:00
|
|
|
# Pods for testing
|
|
|
|
|
end
|
|
|
|
|
|
2021-01-08 12:31:26 +05:00
|
|
|
|
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
|
|
|
|
|
|
2021-01-08 12:31:26 +05:00
|
|
|
|
|
|
|
|
|
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
|
2021-01-08 12:31:26 +05:00
|
|
|
|
|
|
|
|
post_install do |installer|
|
|
|
|
|
installer.pods_project.targets.each do |target|
|
2021-01-11 16:56:31 +05:00
|
|
|
target.build_configurations.each do |config|
|
2021-01-08 12:31:26 +05:00
|
|
|
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|