Skip to content

Commit

Permalink
Update version and example readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kasemmohamed committed Sep 25, 2019
1 parent 2a14a78 commit 63fab6b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.1

* Fixed iOS 13 bugs

## 1.3.0

* Video support.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# receive_sharing_intent

A flutter plugin that enables flutter apps to receive sharing photos, text and urls from other apps.
A flutter plugin that enables flutter apps to receive sharing photos, videos, text and urls from other apps.

Also, supports iOS Share extension and launching the host app automatically.
Check the provided example for more info.
Expand Down
3 changes: 2 additions & 1 deletion example/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# receive_sharing_intent_example

A flutter plugin that enables flutter apps to receive sharing photos, text and urls from other apps.
A flutter plugin that enables flutter apps to receive sharing photos, videos, text and urls from other apps.

Also, supports iOS Share extension and launching the host app automatically.

Expand Down Expand Up @@ -107,6 +107,7 @@ ios/Runner/info.plist
- Using xcode, go to File/New/Target and Choose "Share Extension"
- Give it a name i.e. "Share Extension"

##### Make sure the deployment target for Runner.app and the share extension is the same.

##### Add the following code:
ios/Share Extension/info.plist
Expand Down
2 changes: 1 addition & 1 deletion example/ios/Sharing Extension/ShareViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ class ShareViewController: SLComposeServiceViewController {
let assetImgGenerate = AVAssetImageGenerator(asset: asset)
assetImgGenerate.appliesPreferredTrackTransform = true
// let scale = UIScreen.main.scale
// assetImgGenerate.maximumSize = CGSize(width: 79 * scale, height: 79 * scale)
assetImgGenerate.maximumSize = CGSize(width: 360, height: 360)
do {
let img = try assetImgGenerate.copyCGImage(at: CMTimeMakeWithSeconds(1.0, 600), actualTime: nil)
try UIImagePNGRepresentation(UIImage(cgImage: img))?.write(to: thumbnailPath)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: receive_sharing_intent
description: A flutter plugin that enables flutter apps to receive sharing photos, text or url from other apps.
version: 1.3.0
version: 1.3.1
author: Kasem SAEED<[email protected]>
homepage: https://github.com/KasemJaffer/receive_sharing_intent

Expand Down

0 comments on commit 63fab6b

Please sign in to comment.