diff --git a/example/ios/Runner/AppDelegate.swift b/example/ios/Runner/AppDelegate.swift index 70693e4..b636303 100644 --- a/example/ios/Runner/AppDelegate.swift +++ b/example/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import UIKit import Flutter -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/example/pubspec.lock b/example/pubspec.lock index 221d461..67a4356 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -193,10 +193,10 @@ packages: dependency: transitive description: name: fraction - sha256: "09e9504c9177bbd77df56e5d147abfbb3b43360e64bf61510059c14d6a82d524" + sha256: ac0d9904bb8211eb28606bdf623ff9f222c53240d8e9b927a07c149d356eddc2 url: "https://pub.dev" source: hosted - version: "5.0.2" + version: "5.0.3" html: dependency: transitive description: @@ -589,10 +589,10 @@ packages: dependency: transitive description: name: wechat_assets_picker - sha256: f4b3eb0662f9a9f0453a591f056f5f63244586b772b62b79730a54e501b02671 + sha256: aea82a6b523e118197187c6371301de5d15ce5572f353b575b5dcdeb2d17d44a url: "https://pub.dev" source: hosted - version: "9.1.0" + version: "9.2.2" wechat_camera_picker: dependency: "direct main" description: @@ -605,10 +605,10 @@ packages: dependency: transitive description: name: wechat_picker_library - sha256: a47cdb227955f64494fe55bc42d91a76bfc626a446075d4284a070f1e1297b4e + sha256: "886cdf80a708fa955c2d7e6a2349c9b4519b322cd941e8c7334512c25294b1b1" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.0.2" win32: dependency: transitive description: diff --git a/lib/src/widget/crop_viewer.dart b/lib/src/widget/crop_viewer.dart index a9db8f7..97dfce5 100644 --- a/lib/src/widget/crop_viewer.dart +++ b/lib/src/widget/crop_viewer.dart @@ -220,6 +220,7 @@ class _InnerCropViewState extends State LocallyAvailableBuilder( key: ValueKey(widget.asset.id), asset: widget.asset, + isOriginal: true, builder: (BuildContext context, AssetEntity asset) => insta_crop_view.Crop( key: widget.cropKey, diff --git a/lib/src/widget/video_player_mixin.dart b/lib/src/widget/video_player_mixin.dart index 898e5ab..d9a1a4d 100644 --- a/lib/src/widget/video_player_mixin.dart +++ b/lib/src/widget/video_player_mixin.dart @@ -155,6 +155,7 @@ mixin InstaAssetVideoPlayerMixin LocallyAvailableBuilder( key: ValueKey(widget.asset.id), asset: widget.asset, + isOriginal: false, builder: builder, ); diff --git a/pubspec.yaml b/pubspec.yaml index efa4e33..af32f7a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,13 +18,13 @@ dependencies: sdk: flutter insta_assets_crop: ^0.1.0-dev.2 # custom package from image_crop - fraction: ^5.0.2 # to show crop ratio in crop view + fraction: ^5.0.3 # to show crop ratio in crop view - wechat_assets_picker: ^9.1.0 + wechat_assets_picker: ^9.2.2 # match with wechat_assets_picker package photo_manager: ^3.0.0 - wechat_picker_library: ^1.0.0 + wechat_picker_library: ^1.0.2 extended_image: ^8.2.0 provider: ^6.0.5 video_player: ^2.7.0