Skip to content

Commit

Permalink
update exmple
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilich6107 committed Nov 5, 2023
1 parent 2937939 commit ecba55e
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>9.0</string>
<string>11.0</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion packages/reactive_file_picker/example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Uncomment this line to define a global platform for your project
# platform :ios, '9.0'
# platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
Expand Down
30 changes: 15 additions & 15 deletions packages/reactive_file_picker/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
PODS:
- DKImagePickerController/Core (4.3.2):
- DKImagePickerController/Core (4.3.4):
- DKImagePickerController/ImageDataManager
- DKImagePickerController/Resource
- DKImagePickerController/ImageDataManager (4.3.2)
- DKImagePickerController/PhotoGallery (4.3.2):
- DKImagePickerController/ImageDataManager (4.3.4)
- DKImagePickerController/PhotoGallery (4.3.4):
- DKImagePickerController/Core
- DKPhotoGallery
- DKImagePickerController/Resource (4.3.2)
- DKImagePickerController/Resource (4.3.4)
- DKPhotoGallery (0.0.17):
- DKPhotoGallery/Core (= 0.0.17)
- DKPhotoGallery/Model (= 0.0.17)
Expand Down Expand Up @@ -34,10 +34,10 @@ PODS:
- DKImagePickerController/PhotoGallery
- Flutter
- Flutter (1.0.0)
- SDWebImage (5.12.3):
- SDWebImage/Core (= 5.12.3)
- SDWebImage/Core (5.12.3)
- SwiftyGif (5.4.3)
- SDWebImage (5.18.3):
- SDWebImage/Core (= 5.18.3)
- SDWebImage/Core (5.18.3)
- SwiftyGif (5.4.4)

DEPENDENCIES:
- file_picker (from `.symlinks/plugins/file_picker/ios`)
Expand All @@ -57,13 +57,13 @@ EXTERNAL SOURCES:
:path: Flutter

SPEC CHECKSUMS:
DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d
DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac
DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179
file_picker: 817ab1d8cd2da9d2da412a417162deee3500fc95
Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
SDWebImage: 53179a2dba77246efa8a9b85f5c5b21f8f43e38f
SwiftyGif: 6c3eafd0ce693cad58bb63d2b2fb9bacb8552780
file_picker: 15fd9539e4eb735dc54bae8c0534a7a9511a03de
Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
SDWebImage: 96e0c18ef14010b7485210e92fac888587ebb958
SwiftyGif: 93a1cc87bf3a51916001cf8f3d63835fb64c819f

PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c
PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3

COCOAPODS: 1.11.3
COCOAPODS: 1.13.0
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -156,7 +156,7 @@
97C146E61CF9000F007C117D /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1300;
LastUpgradeCheck = 1430;
ORGANIZATIONNAME = "";
TargetAttributes = {
97C146ED1CF9000F007C117D = {
Expand Down Expand Up @@ -239,10 +239,12 @@
};
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
);
name = "Thin Binary";
outputPaths = (
Expand All @@ -253,6 +255,7 @@
};
9740EEB61CF901F6004384FC /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
Expand Down Expand Up @@ -340,7 +343,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -418,7 +421,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -467,7 +470,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1300"
LastUpgradeVersion = "1430"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 2 additions & 0 deletions packages/reactive_file_picker/example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,7 @@
<false/>
<key>CADisableMinimumFrameDurationOnPhone</key>
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
</dict>
</plist>
34 changes: 17 additions & 17 deletions packages/reactive_file_picker/lib/multi_file.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,22 @@ class _$MultiFileCopyWithImpl<T, $Res, $Val extends MultiFile<T>>
}

/// @nodoc
abstract class _$$_MultiFileCopyWith<T, $Res>
abstract class _$$MultiFileImplCopyWith<T, $Res>
implements $MultiFileCopyWith<T, $Res> {
factory _$$_MultiFileCopyWith(
_$_MultiFile<T> value, $Res Function(_$_MultiFile<T>) then) =
__$$_MultiFileCopyWithImpl<T, $Res>;
factory _$$MultiFileImplCopyWith(
_$MultiFileImpl<T> value, $Res Function(_$MultiFileImpl<T>) then) =
__$$MultiFileImplCopyWithImpl<T, $Res>;
@override
@useResult
$Res call({List<T> files, List<PlatformFile> platformFiles});
}

/// @nodoc
class __$$_MultiFileCopyWithImpl<T, $Res>
extends _$MultiFileCopyWithImpl<T, $Res, _$_MultiFile<T>>
implements _$$_MultiFileCopyWith<T, $Res> {
__$$_MultiFileCopyWithImpl(
_$_MultiFile<T> _value, $Res Function(_$_MultiFile<T>) _then)
class __$$MultiFileImplCopyWithImpl<T, $Res>
extends _$MultiFileCopyWithImpl<T, $Res, _$MultiFileImpl<T>>
implements _$$MultiFileImplCopyWith<T, $Res> {
__$$MultiFileImplCopyWithImpl(
_$MultiFileImpl<T> _value, $Res Function(_$MultiFileImpl<T>) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -87,7 +87,7 @@ class __$$_MultiFileCopyWithImpl<T, $Res>
Object? files = null,
Object? platformFiles = null,
}) {
return _then(_$_MultiFile<T>(
return _then(_$MultiFileImpl<T>(
files: null == files
? _value._files
: files // ignore: cast_nullable_to_non_nullable
Expand All @@ -102,8 +102,8 @@ class __$$_MultiFileCopyWithImpl<T, $Res>

/// @nodoc
class _$_MultiFile<T> extends _MultiFile<T> {
const _$_MultiFile(
class _$MultiFileImpl<T> extends _MultiFile<T> {
const _$MultiFileImpl(
{final List<T> files = const [],
final List<PlatformFile> platformFiles = const []})
: _files = files,
Expand Down Expand Up @@ -137,7 +137,7 @@ class _$_MultiFile<T> extends _MultiFile<T> {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_MultiFile<T> &&
other is _$MultiFileImpl<T> &&
const DeepCollectionEquality().equals(other._files, _files) &&
const DeepCollectionEquality()
.equals(other._platformFiles, _platformFiles));
Expand All @@ -152,14 +152,14 @@ class _$_MultiFile<T> extends _MultiFile<T> {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_MultiFileCopyWith<T, _$_MultiFile<T>> get copyWith =>
__$$_MultiFileCopyWithImpl<T, _$_MultiFile<T>>(this, _$identity);
_$$MultiFileImplCopyWith<T, _$MultiFileImpl<T>> get copyWith =>
__$$MultiFileImplCopyWithImpl<T, _$MultiFileImpl<T>>(this, _$identity);
}

abstract class _MultiFile<T> extends MultiFile<T> {
const factory _MultiFile(
{final List<T> files,
final List<PlatformFile> platformFiles}) = _$_MultiFile<T>;
final List<PlatformFile> platformFiles}) = _$MultiFileImpl<T>;
const _MultiFile._() : super._();

@override
Expand All @@ -168,6 +168,6 @@ abstract class _MultiFile<T> extends MultiFile<T> {
List<PlatformFile> get platformFiles;
@override
@JsonKey(ignore: true)
_$$_MultiFileCopyWith<T, _$_MultiFile<T>> get copyWith =>
_$$MultiFileImplCopyWith<T, _$MultiFileImpl<T>> get copyWith =>
throw _privateConstructorUsedError;
}
10 changes: 5 additions & 5 deletions packages/reactive_file_picker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ dependencies:
flutter:
sdk: flutter
reactive_forms: ^16.0.0
file_picker: ^5.2.11
freezed_annotation: ^2.2.0
file_picker: ^6.1.1
freezed_annotation: ^2.4.1

dev_dependencies:
flutter_test:
sdk: flutter
freezed: ^2.3.3
build_runner: ^2.3.3
flutter_lints: ^2.0.2
freezed: ^2.4.5
build_runner: ^2.4.6
flutter_lints: ^3.0.1

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down

0 comments on commit ecba55e

Please sign in to comment.