Receive Sharing Intent Versions Save

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

1.8.0

1 month ago
  • Added support for cached images on iOS such as shared images from a Screenshot.

1.7.0

2 months ago
  • 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 of ReceiveSharingIntent.getInitialMedia()

1.6.8

2 months ago
  • Fix sometimes file doesn't exist error on iOS

1.6.7

4 months ago

Fix: received sharing url in ios not working on the version 1.6.6

https://github.com/KasemJaffer/receive_sharing_intent/issues/276

1.6.5

4 months ago

Update deprecated API usage in Android

1.6.4

4 months ago
  • 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.

1.6.3

4 months ago
  • Updated readme iOS section, rearranged the steps to properly setup the plugin and added a new step #7

1.6.2

4 months ago

Requires Swift 5.0 Fix backward compatibility down to iOS 8.0 Use UTType for iOS 14.0 and above

1.6.1

4 months ago
  • Stop using UTType because it doesn't exist prior to iOS 14.0

1.6.0

4 months ago
  • All files types now come through getInitialMedia and getMediaStream
  • Your ShareViewController class should now inherit from RSIShareViewController. Eliminating the need to copy the whole class again. Please check the example project for more details.
  • Removed getInitialText, getInitialTextAsUri, getTextStream and getTextStreamAsUri methods. Please use getInitialMedia and getMediaStream instead.