Skip to content
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_plus/share_plus/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.1.5

- Fixed: Use NSURL for web links (iOS)

## 2.1.4

- Android: migrate to mavenCentral
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ + (void)shareText:(NSString *)shareText
subject:(NSString *)subject
withController:(UIViewController *)controller
atSource:(CGRect)origin {
SharePlusData *data = [[SharePlusData alloc] initWithSubject:subject text:shareText];
NSObject *data = [shareText hasPrefix:@"https://"]
? [[NSURL alloc] initWithString:shareText]
: [[SharePlusData alloc] initWithSubject:subject text:shareText];
[self share:@[ data ] withController:controller atSource:origin];
}

Expand Down
2 changes: 1 addition & 1 deletion packages/share_plus/share_plus/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: share_plus
description: Flutter plugin for sharing content via the platform share UI, using the ACTION_SEND intent on Android and UIActivityViewController on iOS.
version: 2.1.4
version: 2.1.5
homepage: https://plus.fluttercommunity.dev/
repository: https://github.com/fluttercommunity/plus_plugins/tree/main/packages/

Expand Down