mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 11:41:51 +03:00
11b453f4d8
close AF-1803 - bump theme - extract `SwipeHelper` and add `speed`, `direction` detection support - new mobile `SwipeMenu` component - integrate `SwipeMenu` to open a menu in Explorer - New `Haptics` module for mobile, implemented in `ios` and `mobile`(`navigator.vibrate()`) ![CleanShot 2024-11-28 at 12.25.14.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/cba36660-f38a-473b-b85c-33540a406835.gif)
29 lines
1010 B
Ruby
29 lines
1010 B
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'
|
|
end
|
|
|
|
target 'App' do
|
|
capacitor_pods
|
|
# Add your Pods here
|
|
pod 'CryptoSwift', '~> 1.8.3'
|
|
end
|
|
|
|
post_install do |installer|
|
|
assertDeploymentTarget(installer)
|
|
end
|