Fix bugs
This commit is contained in:
22
.metadata
22
.metadata
@@ -4,7 +4,7 @@
|
|||||||
# This file should be version controlled and should not be manually edited.
|
# This file should be version controlled and should not be manually edited.
|
||||||
|
|
||||||
version:
|
version:
|
||||||
revision: "9e1c857886f07d342cf106f2cd588bcd5e031bb2"
|
revision: "ef1af02aead6fe2414f3aafa5a61087b610e1332"
|
||||||
channel: "stable"
|
channel: "stable"
|
||||||
|
|
||||||
project_type: app
|
project_type: app
|
||||||
@@ -13,11 +13,23 @@ project_type: app
|
|||||||
migration:
|
migration:
|
||||||
platforms:
|
platforms:
|
||||||
- platform: root
|
- platform: root
|
||||||
create_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
base_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
- platform: android
|
||||||
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
- platform: ios
|
||||||
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
- platform: linux
|
||||||
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
- platform: macos
|
- platform: macos
|
||||||
create_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
base_revision: 9e1c857886f07d342cf106f2cd588bcd5e031bb2
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
- platform: windows
|
||||||
|
create_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
base_revision: ef1af02aead6fe2414f3aafa5a61087b610e1332
|
||||||
|
|
||||||
# User provided section
|
# User provided section
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>App</string>
|
<string>App</string>
|
||||||
<key>CFBundleIdentifier</key>
|
<key>CFBundleIdentifier</key>
|
||||||
<string>ios.flutter.hiddify</string>
|
<string>io.flutter.flutter.app</string>
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
<key>CFBundleInfoDictionaryVersion</key>
|
||||||
<string>6.0</string>
|
<string>6.0</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
//
|
|
||||||
// Generated file. Do not edit.
|
|
||||||
//
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
|
|
||||||
#ifndef GeneratedPluginRegistrant_h
|
|
||||||
#define GeneratedPluginRegistrant_h
|
|
||||||
|
|
||||||
#import <Flutter/Flutter.h>
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
@interface GeneratedPluginRegistrant : NSObject
|
|
||||||
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry;
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
||||||
#endif /* GeneratedPluginRegistrant_h */
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
//
|
|
||||||
// Generated file. Do not edit.
|
|
||||||
//
|
|
||||||
|
|
||||||
// clang-format off
|
|
||||||
|
|
||||||
#import "GeneratedPluginRegistrant.h"
|
|
||||||
|
|
||||||
#if __has_include(<device_info_plus/FPPDeviceInfoPlusPlugin.h>)
|
|
||||||
#import <device_info_plus/FPPDeviceInfoPlusPlugin.h>
|
|
||||||
#else
|
|
||||||
@import device_info_plus;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<flutter_native_splash/FlutterNativeSplashPlugin.h>)
|
|
||||||
#import <flutter_native_splash/FlutterNativeSplashPlugin.h>
|
|
||||||
#else
|
|
||||||
@import flutter_native_splash;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<mobile_scanner/MobileScannerPlugin.h>)
|
|
||||||
#import <mobile_scanner/MobileScannerPlugin.h>
|
|
||||||
#else
|
|
||||||
@import mobile_scanner;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<package_info_plus/FPPPackageInfoPlusPlugin.h>)
|
|
||||||
#import <package_info_plus/FPPPackageInfoPlusPlugin.h>
|
|
||||||
#else
|
|
||||||
@import package_info_plus;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<path_provider_foundation/PathProviderPlugin.h>)
|
|
||||||
#import <path_provider_foundation/PathProviderPlugin.h>
|
|
||||||
#else
|
|
||||||
@import path_provider_foundation;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<protocol_handler/ProtocolHandlerPlugin.h>)
|
|
||||||
#import <protocol_handler/ProtocolHandlerPlugin.h>
|
|
||||||
#else
|
|
||||||
@import protocol_handler;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<sentry_flutter/SentryFlutterPlugin.h>)
|
|
||||||
#import <sentry_flutter/SentryFlutterPlugin.h>
|
|
||||||
#else
|
|
||||||
@import sentry_flutter;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<share_plus/FPPSharePlusPlugin.h>)
|
|
||||||
#import <share_plus/FPPSharePlusPlugin.h>
|
|
||||||
#else
|
|
||||||
@import share_plus;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<shared_preferences_foundation/SharedPreferencesPlugin.h>)
|
|
||||||
#import <shared_preferences_foundation/SharedPreferencesPlugin.h>
|
|
||||||
#else
|
|
||||||
@import shared_preferences_foundation;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<sqlite3_flutter_libs/Sqlite3FlutterLibsPlugin.h>)
|
|
||||||
#import <sqlite3_flutter_libs/Sqlite3FlutterLibsPlugin.h>
|
|
||||||
#else
|
|
||||||
@import sqlite3_flutter_libs;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if __has_include(<url_launcher_ios/URLLauncherPlugin.h>)
|
|
||||||
#import <url_launcher_ios/URLLauncherPlugin.h>
|
|
||||||
#else
|
|
||||||
@import url_launcher_ios;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@implementation GeneratedPluginRegistrant
|
|
||||||
|
|
||||||
+ (void)registerWithRegistry:(NSObject<FlutterPluginRegistry>*)registry {
|
|
||||||
[FPPDeviceInfoPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPDeviceInfoPlusPlugin"]];
|
|
||||||
[FlutterNativeSplashPlugin registerWithRegistrar:[registry registrarForPlugin:@"FlutterNativeSplashPlugin"]];
|
|
||||||
[MobileScannerPlugin registerWithRegistrar:[registry registrarForPlugin:@"MobileScannerPlugin"]];
|
|
||||||
[FPPPackageInfoPlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPPackageInfoPlusPlugin"]];
|
|
||||||
[PathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"PathProviderPlugin"]];
|
|
||||||
[ProtocolHandlerPlugin registerWithRegistrar:[registry registrarForPlugin:@"ProtocolHandlerPlugin"]];
|
|
||||||
[SentryFlutterPlugin registerWithRegistrar:[registry registrarForPlugin:@"SentryFlutterPlugin"]];
|
|
||||||
[FPPSharePlusPlugin registerWithRegistrar:[registry registrarForPlugin:@"FPPSharePlusPlugin"]];
|
|
||||||
[SharedPreferencesPlugin registerWithRegistrar:[registry registrarForPlugin:@"SharedPreferencesPlugin"]];
|
|
||||||
[Sqlite3FlutterLibsPlugin registerWithRegistrar:[registry registrarForPlugin:@"Sqlite3FlutterLibsPlugin"]];
|
|
||||||
[URLLauncherPlugin registerWithRegistrar:[registry registrarForPlugin:@"URLLauncherPlugin"]];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
31
ios/Podfile
31
ios/Podfile
@@ -35,42 +35,13 @@ target 'Runner' do
|
|||||||
target 'RunnerTests' do
|
target 'RunnerTests' do
|
||||||
inherit! :search_paths
|
inherit! :search_paths
|
||||||
end
|
end
|
||||||
# target 'SingBoxPacketTunnel' do
|
|
||||||
# pod 'Libcore', :path => './Frameworks/Libcore.xcframework'
|
|
||||||
# end
|
|
||||||
|
|
||||||
end
|
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'] = '12.1'
|
|
||||||
# end
|
|
||||||
|
|
||||||
# end
|
|
||||||
# end
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$iOSVersion = '12.1' # or newer version
|
|
||||||
|
|
||||||
post_install do |installer|
|
post_install do |installer|
|
||||||
# add these lines:
|
|
||||||
installer.pods_project.build_configurations.each do |config|
|
|
||||||
config.build_settings["EXCLUDED_ARCHS[sdk=*]"] = "armv7"
|
|
||||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
|
|
||||||
end
|
|
||||||
|
|
||||||
installer.pods_project.targets.each do |target|
|
installer.pods_project.targets.each do |target|
|
||||||
flutter_additional_ios_build_settings(target)
|
flutter_additional_ios_build_settings(target)
|
||||||
|
|
||||||
# add these lines:
|
|
||||||
target.build_configurations.each do |config|
|
target.build_configurations.each do |config|
|
||||||
if Gem::Version.new($iOSVersion) > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0'
|
||||||
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ EXTERNAL SOURCES:
|
|||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
cupertino_http: 5f8b1161107fe6c8d94a0c618735a033d93fa7db
|
cupertino_http: 5f8b1161107fe6c8d94a0c618735a033d93fa7db
|
||||||
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
|
device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6
|
||||||
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
|
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
|
||||||
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
|
flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
|
||||||
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
|
GoogleDataTransport: 57c22343ab29bc686febbf7cbb13bad167c2d8fe
|
||||||
GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e
|
GoogleMLKit: 2bd0dc6253c4d4f227aad460f69215a504b2980e
|
||||||
@@ -191,6 +191,6 @@ SPEC CHECKSUMS:
|
|||||||
sqlite3_flutter_libs: eb769059df0356dc52ddda040f09cacc9391a7cf
|
sqlite3_flutter_libs: eb769059df0356dc52ddda040f09cacc9391a7cf
|
||||||
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
|
url_launcher_ios: bf5ce03e0e2088bad9cc378ea97fa0ed5b49673b
|
||||||
|
|
||||||
PODFILE CHECKSUM: cd697eec09ee2160e86276804e14441912c6eafa
|
PODFILE CHECKSUM: be4663332fca77601dd6736e3676fe47177084e1
|
||||||
|
|
||||||
COCOAPODS: 1.14.3
|
COCOAPODS: 1.14.3
|
||||||
|
|||||||
Reference in New Issue
Block a user