Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.6.2+4

* Define clang module for iOS.

## 0.6.2+3

* Fix iOS crash when setting subject to null.
Expand Down
2 changes: 1 addition & 1 deletion packages/share/ios/Classes/SharePlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ - (id)activityViewController:(UIActivityViewController *)activityViewController

- (NSString *)activityViewController:(UIActivityViewController *)activityViewController
subjectForActivityType:(UIActivityType)activityType {
return [_subject isKindOfClass:NSNull.class] ? nil : _subject;
return [_subject isKindOfClass:NSNull.class] ? @"" : _subject;
}

@end
Expand Down
3 changes: 2 additions & 1 deletion packages/share/ios/share.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ A Flutter plugin for sharing content from the Flutter app via the platform share
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'

s.ios.deployment_target = '8.0'
s.platform = :ios, '8.0'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' }
end

2 changes: 1 addition & 1 deletion packages/share/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for sharing content via the platform share UI, using
the ACTION_SEND intent on Android and UIActivityViewController on iOS.
author: Flutter Team <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/share
version: 0.6.2+3
version: 0.6.2+4

flutter:
plugin:
Expand Down
1 change: 0 additions & 1 deletion script/lint_darwin_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ function lint_packages() {
# TODO: These packages have linter errors. Remove plugins from this list as linter issues are fixed.
local skipped_packages=(
'google_maps_flutter'
'share'
)

local failure_count=0
Expand Down