share_intent_package 1.0.7 copy "share_intent_package: ^1.0.7" to clipboard
share_intent_package: ^1.0.7 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.7 - 2025-12-04 #

Fixed #

  • 🔧 Script Execution: Fixed published version to properly run automatic Xcode project modification
  • 📱 Error Handling: Improved error detection with stack traces for debugging
  • Complete Automation: Ensures ShareExtension target is actually created without manual steps
  • 🛠️ Version Sync: Fixed mismatch between repository and published versions

1.0.6 - 2025-12-04 #

Fixed #

  • 🔧 Xcode Target Creation: Fixed ShareExtension target not being properly added to Xcode project
  • 📄 File References: Fixed file references being added correctly to project.pbxproj
  • 🛠️ Error Handling: Added better error detection and logging for Xcode project modification
  • Target Detection: Improved ShareExtension target detection logic
  • 📱 Complete Automation: Fixed the "Unable to find target ShareExtension" pod install error

1.0.5 - 2025-12-04 #

Fixed #

  • 🔧 App Groups Capability: Properly configures App Groups in main app entitlements file
  • 📱 Resources Build Phase: Adds missing Resources build phase to ShareExtension target
  • 🛠️ Complete Build Phases: Ensures both Sources and Resources phases are configured
  • Main App Entitlements: Auto-creates/updates Runner.entitlements with App Groups
  • 🎯 Proper Embedding: Complete ShareExtension embedding with all required configurations

1.0.4 - 2025-12-04 #

Enhanced #

  • 🎯 Complete iOS Automation: Enhanced automatic Xcode project modification with proper ShareExtension embedding
  • 🔧 Embed App Extensions: Automatically configures embedding phases for ShareExtension in main app target
  • 📱 App Groups Configuration: Full automatic setup of App Groups capability and entitlements
  • 🛠️ Target Dependencies: Proper dependency management between main app and ShareExtension targets
  • Build Phase Management: Complete source, resource, and embedding build phases configuration
  • 🚀 Zero Manual Steps: Comprehensive automation requiring no manual Xcode configuration

1.0.3 - 2025-12-04 #

Added #

  • 🚀 FULLY AUTOMATIC iOS Setup: Complete ShareExtension configuration without any manual Xcode steps
  • 🔧 Automatic Xcode Project Modification: Script now automatically adds ShareExtension target to Xcode project
  • 📱 Complete Build Configuration: Automatically configures build settings, entitlements, and dependencies
  • 🎯 Zero Manual Configuration: Users just run the command - everything is configured automatically

Enhanced #

  • 🛠️ Smart Xcode Project Parsing: Intelligently modifies project.pbxproj with proper UUIDs and references
  • 📋 Automatic Podfile Update: Adds ShareExtension target to Podfile automatically
  • 🔐 Complete Entitlements Setup: App Groups and all required entitlements configured automatically
  • 📱 Bundle ID Detection: Automatically detects and uses project's bundle ID for all configurations

Commands Now Available #

  • dart run share_intent_package:setup_ios_clean - FULLY AUTOMATIC iOS setup (no manual steps!)
  • dart run share_intent_package:setup_android - Android intent filter setup

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