Releases: KasemJaffer/receive_sharing_intent
Releases · KasemJaffer/receive_sharing_intent
receive_sharing_intent-v1.8.0
- Added support for cached images on iOS such as shared images from a Screenshot.
receive_sharing_intent-v1.7.0
- Added
ReceiveSharingIntent.setMockValues
method to set mock values for testing purposes.
ReceiveSharingIntent.setMockValues(
initialMedia: [],
mediaStream: Stream.empty(),
);
Breaking change
- Use instance getter i.e.
ReceiveSharingIntent.instance.getInitialMedia()
instead ofReceiveSharingIntent.getInitialMedia()
receive_sharing_intent-v1.6.8
- Fix sometimes file doesn't exist error on iOS
receive_sharing_intent-v1.6.7
Fix: received sharing url in ios not working on the version 1.6.6
receive_sharing_intent-v1.6.5
Update deprecated API usage in Android
receive_sharing_intent-v1.6.4
- Added a flag to disable the automatic closing of the share extension after sharing.
class ShareViewController: RSIShareViewController {
// Use this method to return false if you don't want to redirect to host app automatically.
// Default is true
override func shouldAutoRedirect() -> Bool {
return false
}
}
- Added new field
message
to the SharedMediaFile class.
receive_sharing_intent-v1.6.3
- Updated readme iOS section, rearranged the steps to properly setup the plugin and added a new step #7
receive_sharing_intent-v1.6.2
Requires Swift 5.0
Fix backward compatibility down to iOS 8.0
Use UTType for iOS 14.0 and above
receive_sharing_intent-v1.6.1
- Stop using UTType because it doesn't exist prior to iOS 14.0
receive_sharing_intent-v1.6.0
- 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.