A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
ReceiveSharingIntent.setMockValues
method to set mock values for testing purposes.ReceiveSharingIntent.setMockValues(
initialMedia: [],
mediaStream: Stream.empty(),
);
ReceiveSharingIntent.instance.getInitialMedia()
instead of ReceiveSharingIntent.getInitialMedia()
Fix: received sharing url in ios not working on the version 1.6.6
https://github.com/KasemJaffer/receive_sharing_intent/issues/276
Update deprecated API usage in Android
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
}
}
message
to the SharedMediaFile class.Requires Swift 5.0 Fix backward compatibility down to iOS 8.0 Use UTType for iOS 14.0 and above
getInitialMedia
and getMediaStream
ShareViewController
class should now inherit from RSIShareViewController
. Eliminating the
need to copy the whole class again. Please check the example project for more details.getInitialText
, getInitialTextAsUri
, getTextStream
and getTextStreamAsUri
methods.
Please use getInitialMedia
and getMediaStream
instead.