share_intent_package 1.0.2 copy "share_intent_package: ^1.0.2" to clipboard
share_intent_package: ^1.0.2 copied to clipboard

The easiest Flutter share intent plugin. Receive text, images, videos, documents from other apps with automated setup. iOS ShareExtension + Android intent filters made simple.

Changelog #

All notable changes to this project will be documented in this file.

1.0.2 - 2025-12-04 #

Fixed #

  • 📝 Corrected setup commands: Fixed installation commands to use dart run instead of dart pub global run
  • 🔧 Flutter compatibility: Resolved Flutter package global activation limitation
  • 📚 Updated documentation: All README examples now use the correct dart run package:executable syntax

Commands Now Available #

  • dart run share_intent_package:setup_ios_clean - iOS ShareExtension setup
  • dart run share_intent_package:setup_android - Android intent filter setup

1.0.1 - 2025-12-04 #

Fixed #

  • 🔧 Accessible setup scripts: Made setup scripts available as global executables
  • 📚 Accurate documentation: Fixed misleading Android "zero configuration" claims
  • 🤖 Automated Android setup: Added setup_android executable for intent filter configuration
  • 🛠️ Improved iOS setup: Enhanced setup_ios_clean executable with better error handling
  • 📋 Clear installation instructions: Updated README with correct global command usage

Commands Available (Fixed) #

  • dart run share_intent_package:setup_ios_clean - iOS ShareExtension setup (was incorrectly documented as global command)
  • dart run share_intent_package:setup_android - Android intent filter setup (was incorrectly documented as global command)

1.0.0 - 2025-12-04 #

Added #

  • 🎯 Complete share intent functionality for Flutter
  • 📱 Cross-platform support (iOS 11+ and Android API 16+)
  • 🚀 Universal content handling: text, URLs, images, videos, documents, multiple files
  • Real-time sharing: Receive content while app is running
  • 🔧 Automated iOS setup: setup_ios_ultimate_simple command with minimal manual steps
  • 📋 Simple Android setup: Intent filter configuration
  • 🔍 Setup verification: Built-in verify_setup command

Core API #

  • ShareIntentPackage.instance.init(): Initialize the plugin
  • ShareIntentPackage.instance.getInitialShare(): Get content when app launches from share
  • ShareIntentPackage.instance.getShareStream(): Stream of shared content while app is running
  • ShareIntentPackage.instance.reset(): Clear cached shared data
  • ShareData class: Unified data structure for all shared content types

Platform Implementation #

  • iOS: Swift-based ShareExtension with App Groups integration
  • Android: Kotlin plugin with activity awareness and intent handling
  • Flutter: Dart API with method channels and event channels

Content Support #

  • Text: Plain text, URLs, web links
  • Images: JPEG, PNG, GIF, WebP from camera, gallery, or other apps
  • Videos: MP4, MOV, AVI from recordings or downloads
  • Documents: PDF, Office files, ZIP archives, JSON, XML
  • Multiple files: Batch sharing of mixed content types
  • MIME types: Automatic detection and classification

0.0.1 Initial Development #

Features #

  • ✅ Complete Android share intent handling (text, images, videos, files)
  • ✅ iOS share extension support with automatic configuration
  • ✅ Support for single and multiple file sharing
  • ✅ Automatic MIME type detection and content URI handling
  • ✅ Stream-based real-time sharing while app is running
  • ✅ Initial share detection when app is launched from share intent
  • ✅ Comprehensive file type support (images, videos, documents, etc.)
  • ✅ Simple API with minimal setup required
  • ✅ Automatic file copying and path management
  • ✅ Complete example app with all features demonstrated
7
likes
0
points
692
downloads

Publisher

unverified uploader

Weekly Downloads

The easiest Flutter share intent plugin. Receive text, images, videos, documents from other apps with automated setup. iOS ShareExtension + Android intent filters made simple.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on share_intent_package

Packages that implement share_intent_package