From 1474f01fc82b76e3e0494a102b9dd0a118a53d94 Mon Sep 17 00:00:00 2001 From: phuoc Date: Fri, 15 Mar 2024 09:03:26 +0700 Subject: [PATCH] fix: upgrade model viewer pub Signed-off-by: phuoc --- example/ios/Runner/GeneratedPluginRegistrant.m | 6 +++--- pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/ios/Runner/GeneratedPluginRegistrant.m b/example/ios/Runner/GeneratedPluginRegistrant.m index 462ed40..ec19fc9 100644 --- a/example/ios/Runner/GeneratedPluginRegistrant.m +++ b/example/ios/Runner/GeneratedPluginRegistrant.m @@ -48,8 +48,8 @@ @import url_launcher_ios; #endif -#if __has_include() -#import +#if __has_include() +#import #else @import video_player_avfoundation; #endif @@ -70,7 +70,7 @@ + (void)registerWithRegistry:(NSObject*)registry { [FLTPathProviderPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTPathProviderPlugin"]]; [SqflitePlugin registerWithRegistrar:[registry registrarForPlugin:@"SqflitePlugin"]]; [FLTURLLauncherPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTURLLauncherPlugin"]]; - [FLTVideoPlayerPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTVideoPlayerPlugin"]]; + [FVPVideoPlayerPlugin registerWithRegistrar:[registry registrarForPlugin:@"FVPVideoPlayerPlugin"]]; [FLTWebViewFlutterPlugin registerWithRegistrar:[registry registrarForPlugin:@"FLTWebViewFlutterPlugin"]]; } diff --git a/pubspec.yaml b/pubspec.yaml index a5915e3..612911d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dependencies: ref: 1.0.1 video_player_macos: ^2.0.1 - model_viewer_plus: 1.6.1 + model_viewer_plus: 1.7.0 video_player_platform_interface: ^6.2.0 vector_graphics_compiler: ^1.1.7 flutter_pdfview: ^1.3.2