receive_sharing_intent 1.6.0 receive_sharing_intent: ^1.6.0 copied to clipboard
A flutter plugin that enables flutter apps to receive sharing photos, text or url from other apps.
1.6.0 #
Breaking changes #
- All files types now come through
getInitialMedia
andgetMediaStream
- Your
ShareViewController
class should now inherit fromRSIShareViewController
. Eliminating the need to copy the whole class again. Please check the example project for more details. - Removed
getInitialText
,getInitialTextAsUri
,getTextStream
andgetTextStreamAsUri
methods. Please usegetInitialMedia
andgetMediaStream
instead.
1.5.4 #
- Fix broken links in readme
1.5.3 #
- Update readme
- Code refactor, remove unnecessary semicolon and initialization of optional fields
1.5.2 #
- Fix wrong file path on iOS
1.5.1 #
- Update plugin's iOS build version
1.5.0 #
- Add support for custom group ID for iOS
- Update android gradle build tools to 7.3.1
- Replace deprecated jcenter with mavenCentral
- Update android to use compileSdkVersion 34
1.4.5 #
- Update android to use compileSdkVersion 30
1.4.4 #
- Enabled null safety
- Fix frozen app after sharing. Fix requires you to update your Sharing Extension Class (Check example project)
- Fix regression regarding link propagation
1.4.3 #
- Fix suppressed link propagation to other modules on iOS
1.4.2 #
- Migrate to flutter android embedding v2
- Fix crash while getting raw files path on Android
1.4.1 #
- Preserve original file name
Note. Updating your Sharing Extension Class is required (please check that in the example project)
1.4.0 #
- Added support for sharing any type of file
Breaking changes #
- In your project
ios/Runner/Info.plist
please change 'SharePhotos' to 'ShareMedia' as follows
<key>CFBundleURLSchemes</key>
<array>
<string>ShareMedia</string>
1.3.3 #
- Fixed the >= 4.2 Swift compiler parsing errors
1.3.2 #
- Fix Some photos and videos have wrong extension names
- Fix sharing dialog doesn't close properly
Note. Both fixes require you to update your Sharing Extension Class (please check that in the example project)
1.3.1+1 #
- Remove unnecessary code
1.3.1 #
- Fixed iOS 13 bugs
1.3.0 #
- Video support.
Breaking changes #
Updated #
ShareViewController.swift
Please copy the whole class again as there are many code changes.getInitialImage
changed togetInitialMedia
for images and videosgetImageStream
changed togetMediaStream
for images and videos- both
getInitialMedia
andgetMediaStream
now return video duration and thumbnail along with the shared file path
Removed #
getInitialImageAsUri
getImageStreamAsUri
1.2.0+1 #
- New method added to reset the already consumed callbacks
1.1.5 #
- Example project updated. Check the method [handleImages] in example/Sharing Extension/ShareViewController.swift
- Fix some images are not successfully shared on iOS
1.1.4 #
- Add screen recorded demo
1.1.3 #
- Fix sharing image does not work sometimes on iOS and on Android when sharing from google photos (cloud)
1.1.2 #
- Return absolute path for images instead of a reference that can be used directly with File.dart
- Refactor code
1.0.1 #
- Bug fixes and updated api name
1.0.0 #
- Add support for urls
0.9.2 #
- Remove un-necessary jar libraries
0.9.1 #
- Fix issue where sharing in iOS simulator does not work