mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for App Tracking Transparency, including requesting user permission at runtime and providing a clear privacy usage description. - **Dependency Updates** - Updated the "apollo-ios" package to version 1.20.0. - Added the "capacitor-plugin-app-tracking-transparency" package and its related pod dependency. - **Localization** - Added a new localized privacy usage description for tracking permission requests. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
30 lines
1.1 KiB
Ruby
30 lines
1.1 KiB
Ruby
require_relative '../../../../../node_modules/@capacitor/ios/scripts/pods_helpers'
|
|
|
|
platform :ios, '13.0'
|
|
use_frameworks!
|
|
|
|
# workaround to avoid Xcode caching of Pods that requires
|
|
# Product -> Clean Build Folder after new Cordova plugins installed
|
|
# Requires CocoaPods 1.6 or newer
|
|
install! 'cocoapods', :disable_input_output_paths => true
|
|
|
|
def capacitor_pods
|
|
pod 'Capacitor', :path => '../../../../../node_modules/@capacitor/ios'
|
|
pod 'CapacitorCordova', :path => '../../../../../node_modules/@capacitor/ios'
|
|
pod 'CapacitorApp', :path => '../../../../../node_modules/@capacitor/app'
|
|
pod 'CapacitorBrowser', :path => '../../../../../node_modules/@capacitor/browser'
|
|
pod 'CapacitorHaptics', :path => '../../../../../node_modules/@capacitor/haptics'
|
|
pod 'CapacitorKeyboard', :path => '../../../../../node_modules/@capacitor/keyboard'
|
|
pod 'CapacitorPluginAppTrackingTransparency', :path => '../../../../../node_modules/capacitor-plugin-app-tracking-transparency'
|
|
end
|
|
|
|
target 'AFFiNE' do
|
|
capacitor_pods
|
|
# Add your Pods here
|
|
pod 'CryptoSwift', '~> 1.8.3'
|
|
end
|
|
|
|
post_install do |installer|
|
|
assertDeploymentTarget(installer)
|
|
end
|