Skip to content

Commit

Permalink
feat(share_plus): Update min iOS target to 12 (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuberen committed Mar 7, 2024
1 parent ca5d660 commit 5cef2e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down Expand Up @@ -579,7 +579,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -628,7 +628,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ class ImagePreviews extends StatelessWidget {

/// Creates a widget for preview of images. [imagePaths] can not be empty
/// and all contained paths need to be non empty.
const ImagePreviews(this.imagePaths, {Key? key, this.onDelete})
: super(key: key);
const ImagePreviews(this.imagePaths, {super.key, this.onDelete});

@override
Widget build(BuildContext context) {
Expand All @@ -41,8 +40,7 @@ class _ImagePreview extends StatelessWidget {
final String imagePath;
final VoidCallback? onDelete;

const _ImagePreview(this.imagePath, {Key? key, this.onDelete})
: super(key: key);
const _ImagePreview(this.imagePath, {this.onDelete});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion packages/share_plus/share_plus/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void main() {
}

class DemoApp extends StatefulWidget {
const DemoApp({Key? key}) : super(key: key);
const DemoApp({super.key});

@override
DemoAppState createState() => DemoAppState();
Expand Down
2 changes: 1 addition & 1 deletion packages/share_plus/share_plus/ios/share_plus.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Downloaded by pub (not CocoaPods).
s.dependency 'Flutter'
s.ios.weak_framework = 'LinkPresentation'

s.platform = :ios, '11.0'
s.platform = :ios, '12.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
s.resource_bundles = {'share_plus_privacy' => ['PrivacyInfo.xcprivacy']}
end
Expand Down

0 comments on commit 5cef2e5

Please sign in to comment.