share_intent_package 1.0.4
share_intent_package: ^1.0.4 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.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 runinstead ofdart pub global run - 🔧 Flutter compatibility: Resolved Flutter package global activation limitation
- 📚 Updated documentation: All README examples now use the correct
dart run package:executablesyntax
Commands Now Available #
dart run share_intent_package:setup_ios_clean- iOS ShareExtension setupdart 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_androidexecutable for intent filter configuration - 🛠️ Improved iOS setup: Enhanced
setup_ios_cleanexecutable 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_simplecommand with minimal manual steps - 📋 Simple Android setup: Intent filter configuration
- 🔍 Setup verification: Built-in
verify_setupcommand
Core API #
ShareIntentPackage.instance.init(): Initialize the pluginShareIntentPackage.instance.getInitialShare(): Get content when app launches from shareShareIntentPackage.instance.getShareStream(): Stream of shared content while app is runningShareIntentPackage.instance.reset(): Clear cached shared dataShareDataclass: 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