mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
NEW - [Dashboard] (Modules) Show Wake on LAN tile - [Drawer] Ability to customize the order of modules TWEAKS - [Dashboard] (Modules) Synchronize module ordering with drawer ordering - [Drawer] Default to sorting modules alphabetically - [Settings] (Configuration) Alphabetically sort the modules FIXES - [Flutter] Updated packages - [Flutter] Upgrade to Firebase SDK v7.11.0 - [Locale] Ensure that the date formatter uses the currently set locale - [Search] Indexers would not load in some cases when the headers map was null/empty - [Settings] (Connection Test) Connection tests could fail unexpectedly - [Sonarr] (Edit) Grey screen could be shown when a user has no tags - [Sonarr] (Edit) Grey screen could be shown when a user has no language profiles - [UI/UX] Popup menus were not aligned correctly
61 lines
2.0 KiB
Ruby
61 lines
2.0 KiB
Ruby
platform :ios, '11.0'
|
|
|
|
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
|
|
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
|
|
|
|
project 'Runner', {
|
|
'Debug' => :debug,
|
|
'Profile' => :release,
|
|
'Release' => :release,
|
|
}
|
|
|
|
def flutter_root
|
|
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
|
|
unless File.exist?(generated_xcode_build_settings_path)
|
|
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
|
|
end
|
|
|
|
File.foreach(generated_xcode_build_settings_path) do |line|
|
|
matches = line.match(/FLUTTER_ROOT\=(.*)/)
|
|
return matches[1].strip if matches
|
|
end
|
|
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
|
|
end
|
|
|
|
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
|
|
|
|
flutter_ios_podfile_setup
|
|
|
|
target 'Runner' do
|
|
pod 'GoogleUtilities'
|
|
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '7.11.0'
|
|
use_frameworks!
|
|
use_modular_headers!
|
|
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
|
|
end
|
|
|
|
post_install do |installer|
|
|
installer.pods_project.targets.each do |target|
|
|
flutter_additional_ios_build_settings(target)
|
|
target.build_configurations.each do |config|
|
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
|
|
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
|
|
'$(inherited)',
|
|
'PERMISSION_SPEECH_RECOGNIZER=0',
|
|
'PERMISSION_SENSORS=0',
|
|
'PERMISSION_MEDIA_LIBRARY=0',
|
|
'PERMISSION_EVENTS=0',
|
|
'PERMISSION_CONTACTS=0',
|
|
'PERMISSION_REMINDERS=0',
|
|
'PERMISSION_MICROPHONE=0'
|
|
]
|
|
end
|
|
end
|
|
end
|
|
|
|
target 'ImageNotification' do
|
|
pod 'GoogleUtilities'
|
|
use_frameworks!
|
|
pod 'Firebase/Messaging'
|
|
end
|