PackageTrack
Sign in Get early access

receive_sharing_intent

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

1.9.0 96K downloads/mo #1151 most downloaded on pub.dev KasemJaffer/receive_sharing_intent

What this package is like to depend on

Last release 2 months ago

24 Jun 2026

Ships unpredictably

gaps range from 8 days to 2.9 years

Nearly every release is documented

notes for 38 of 41 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

41 releases · first in 2019

1 release in the last 12 months

see the full history below

Release timeline

41 releases · May 2019 to Jun 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 41
  1. 1.9.0 24 Jun 2026
    Release notes

    Breaking changes

    • Requires Flutter 3.38 or newer.
    • iOS: Apps must now adopt a SceneDelegate for the new UIScene lifecycle — see the README and the official guide.
    • iOS: Now uses Swift Package Manager only (the CocoaPods podspec was removed). Enable it with flutter config --enable-swift-package-manager and link the receive-sharing-intent product in your Share Extension.
    • iOS: The Share Extension compose UI was rebuilt (see below). presentationAnimationDidFinish(), navigationTitle and characterLimit were removed — use the new override hooks instead.
    • iOS: Minimum deployment target raised to iOS 13.0.

    iOS — new Share Extension compose UI

    • RSIShareViewController no longer subclasses the deprecated SLComposeServiceViewController; it's now a plain UIViewController following Apple's modern model.
    • shouldAutoRedirect() == true (default): no UI is shown — the old flash of the dimmed white system sheet is gone and the extension redirects straight into the host app.
    • shouldAutoRedirect() == false: a built-in compose sheet (RSIComposeView) is shown — a bottom card with a grabber, circular close button, "Send" button, an auto-focused message field and a thumbnail preview of the first shared item. Tapping the dimmed backdrop cancels.
    • Customise it by overriding placeholder, sendButtonTitle, contentText, isContentValid(), didSelectPost(), didSelectCancel(), cancel() or saveAndRedirect(message:).

    iOS — other

    • Adopted Apple's UIScene lifecycle: the plugin conforms to FlutterSceneLifeCycleDelegate, registers via addSceneDelegate, and handles shared URLs through the scene delegate.
    • Consolidated into a single ReceiveSharingIntentPlugin Swift class (the Objective-C bridge is gone). SwiftReceiveSharingIntentPlugin remains as a backward-compatible type alias.

    Android

    • Migrated to Flutter's Built-in Kotlin: the plugin no longer applies the Kotlin Gradle Plugin (KGP) itself — Flutter's Gradle plugin applies kotlin-android automatically. This silences the upcoming KGP deprecation warning and keeps the plugin building on future Flutter versions.
    • Upgraded Android Gradle Plugin to 9.2.1, Gradle to 9.4.1 and Kotlin to 2.4.0.
    • Bumped compileSdk to 37, raised minSdk to 21 and migrated to the modern Kotlin compilerOptions DSL (JVM target 17).

    Full Changelog: 1.8.1...1.9.0

    What's Changed

    New Contributors

    Full Changelog: 1.8.1...1.9.0

    Open source →
    Release notes

    Breaking changes

    • Requires Flutter 3.38 or newer.
    • iOS: Apps must now adopt a SceneDelegate for the new UIScene lifecycle — see the README and the official guide.
    • iOS: Now uses Swift Package Manager only (the CocoaPods podspec was removed). Enable it with flutter config --enable-swift-package-manager and link the receive-sharing-intent product in your Share Extension.
    • iOS: The Share Extension compose UI was rebuilt (see below). presentationAnimationDidFinish(), navigationTitle and characterLimit were removed — use the new override hooks instead.
    • iOS: Minimum deployment target raised to iOS 13.0.

    iOS — new Share Extension compose UI

    • RSIShareViewController no longer subclasses the deprecated SLComposeServiceViewController; it's now a plain UIViewController following Apple's modern model.
    • shouldAutoRedirect() == true (default): no UI is shown — the old flash of the dimmed white system sheet is gone and the extension redirects straight into the host app.
    • shouldAutoRedirect() == false: a built-in compose sheet (RSIComposeView) is shown — a bottom card with a grabber, circular close button, "Send" button, an auto-focused message field and a thumbnail preview of the first shared item. Tapping the dimmed backdrop cancels.
    • Customise it by overriding placeholder, sendButtonTitle, contentText, isContentValid(), didSelectPost(), didSelectCancel(), cancel() or saveAndRedirect(message:).

    iOS — other

    • Adopted Apple's UIScene lifecycle: the plugin conforms to FlutterSceneLifeCycleDelegate, registers via addSceneDelegate, and handles shared URLs through the scene delegate.
    • Consolidated into a single ReceiveSharingIntentPlugin Swift class (the Objective-C bridge is gone). SwiftReceiveSharingIntentPlugin remains as a backward-compatible type alias.

    Android

    • Migrated to Flutter's Built-in Kotlin: the plugin no longer applies the Kotlin Gradle Plugin (KGP) itself — Flutter's Gradle plugin applies kotlin-android automatically. This silences the upcoming KGP deprecation warning and keeps the plugin building on future Flutter versions.
    • Upgraded Android Gradle Plugin to 9.2.1, Gradle to 9.4.1 and Kotlin to 2.4.0.
    • Bumped compileSdk to 37, raised minSdk to 21 and migrated to the modern Kotlin compilerOptions DSL (JVM target 17).
    Open source →
  2. 1.8.1 21 Oct 2024
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 1.8.0...1.8.1

    Open source →
    Release notes
    • Fixed sharing not working on iOS 18
    Open source →
  3. 1.8.0 29 Apr 2024
    Release notes
    • Added support for cached images on iOS such as shared images from a Screenshot.
    Open source →
    Release notes
    • Added support for cached images on iOS such as shared images from a Screenshot.
    Open source →
  4. 1.7.0 09 Apr 2024
    Release notes
    • 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()
    Open source →
    Release notes
    • Added ReceiveSharingIntent.setMockValues method to set mock values for testing purposes.
    ReceiveSharingIntent.setMockValues(
          initialMedia: [],
          mediaStream: Stream.empty(),
        );
    
    Open source →
  5. 1.6.8 01 Apr 2024
    Release notes
    • Fix sometimes file doesn't exist error on iOS
    Open source →
    Release notes
    • Fix sometimes file doesn't exist error on iOS
    Open source →
  6. 1.6.7 02 Feb 2024
    Release notes

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

    #276

    Open source →
    Release notes
    • Fix sharing url not working on iOS
    Open source →
  7. 1.6.6 29 Jan 2024
    Release notes
    • Fix compatibility issue with Android SDK <33
    Open source →
  8. 1.6.5 29 Jan 2024
    Release notes

    Update deprecated API usage in Android

    Open source →
    Release notes
    • Update deprecated API usage in Android
    Open source →
  9. 1.6.4 26 Jan 2024
    Release notes
    • 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.
    Open source →
    Release notes
    • 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.
    Open source →
  10. 1.6.3 26 Jan 2024
    Release notes
    • Updated readme iOS section, rearranged the steps to properly setup the plugin and added a new step #7
    Open source →
    Release notes
    • Updated readme iOS section, rearranged the steps to properly setup the plugin and added a new step #7
    Open source →
  11. 1.6.2 26 Jan 2024
    Release notes

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

    Open source →
    Release notes
    • Requires Swift 5.0
    • Fix backward compatibility down to iOS 8.0
    • Use UTType for iOS 14.0 and above
    Open source →
  12. 1.6.1 26 Jan 2024
    Release notes
    • Stop using UTType because it doesn't exist prior to iOS 14.0
    Open source →
  13. 1.6.0 25 Jan 2024
    Release notes

    Breaking changes

    • 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.
    Open source →
  14. 1.5.4 24 Jan 2024
    Release notes
    • Fix broken links in readme
    Open source →
  15. 1.5.3 24 Jan 2024
    Release notes
    • Update readme
    • Code refactor, remove unnecessary semicolon and initialization of optional fields
    Open source →
  16. 1.5.2 24 Jan 2024
    Release notes
    • Fix wrong file path on iOS
    Open source →
  17. 1.5.1 23 Jan 2024
    Release notes
    • Update plugin's iOS build version
    Open source →
  18. 1.5.0 22 Jan 2024
    Release notes
    • 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
    Open source →
  19. 1.4.5 14 Mar 2021
    Release notes
    • Update android to use compileSdkVersion 30
    Open source →
  20. 1.4.4 06 Mar 2021
    Release notes
    • 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
    Open source →
  21. 1.4.3 22 Jan 2021
    Release notes
    • Fix suppressed link propagation to other modules on iOS
    Open source →
  22. 1.4.2 04 Nov 2020
    Release notes
    • Migrate to flutter android embedding v2
    • Fix crash while getting raw files path on Android
    Open source →
  23. 1.4.1 27 Aug 2020
    Release notes
    • Preserve original file name

    Note. Updating your Sharing Extension Class is required (please check that in the example project)

    Open source →
  24. 1.4.0 19 Apr 2020
    Release notes
    • 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>
    
    Open source →
  25. 1.4.0+1 19 Apr 2020

    Nothing published for this version

  26. 1.4.0+2 19 Apr 2020

    Nothing published for this version

  27. 1.3.3 11 Mar 2020
    Release notes
    • Fixed the >= 4.2 Swift compiler parsing errors
    Open source →
  28. 1.3.2 14 Nov 2019
    Release notes
    • 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)

    Open source →
  29. 1.3.1 25 Sep 2019
    Release notes
    • Fixed iOS 13 bugs
    Open source →
  30. 1.3.1+1 26 Sep 2019
    Release notes
    • Remove unnecessary code
    Open source →
  31. 1.3.0 24 Jul 2019
    Release notes
    • Video support.

    Breaking changes

    Updated

    • ShareViewController.swift Please copy the whole class again as there are many code changes.
    • getInitialImage changed to getInitialMedia for images and videos
    • getImageStream changed to getMediaStream for images and videos
    • both getInitialMedia and getMediaStream now return video duration and thumbnail along with the shared file path

    Removed

    • getInitialImageAsUri
    • getImageStreamAsUri
    Open source →
  32. 1.2.0+1 10 Jul 2019
    Release notes
    • New method added to reset the already consumed callbacks
    Open source →
  33. 1.1.5 08 Jul 2019
    Release notes
    • Example project updated. Check the method [handleImages] in example/Sharing Extension/ShareViewController.swift
    • Fix some images are not successfully shared on iOS
    Open source →
  34. 1.1.4 25 Jun 2019
    Release notes
    • Add screen recorded demo
    Open source →
  35. 1.1.3 25 Jun 2019
    Release notes
    • Fix sharing image does not work sometimes on iOS and on Android when sharing from google photos (cloud)
    Open source →
  36. 1.1.2 23 Jun 2019
    Release notes
    • Return absolute path for images instead of a reference that can be used directly with File.dart
    • Refactor code
    Open source →
  37. 1.0.1 20 Jun 2019
    Release notes
    • Bug fixes and updated api name
    Open source →
  38. 1.0.0 15 Jun 2019
    Release notes
    • Add support for urls
    Open source →
  39. 0.9.2 12 Jun 2019
    Release notes
    • Remove un-necessary jar libraries
    Open source →
  40. 0.9.1 30 May 2019
    Release notes
    • Fix issue where sharing in iOS simulator does not work
    Open source →
  41. 0.9.0 30 May 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive