share_extend는 Android 및 iOS에서 네이티브 시스템 UI를 통해 텍스트, 이미지, 비디오 및 파일을 공유할 수 있도록 해주는 Flutter 플러그인입니다. 플랫폼별로 특화된 공유 인텐트를 활용할 수 있는 간단한 인터페이스를 제공하여 이메일, 메시징 앱, 소셜 미디어 등으로 콘텐츠를 전송할 수 있습니다. Flutter 생태계와 원활하게 통합되며, 크로스플랫폼 일관성을 유지하면서도 네이티브 공유 기능에 접근할 수 있습니다. 복잡한 설정 없이 간단한 공유 기능이 필요한 앱에 적합합니다.
A Flutter plugin for iOS and Android for sharing text, image, video and file with system ui.
Installation
First, add share_extend as a dependency in your pubspec.yaml file.
dependencies:share_extend:"^2.0.0"
iOS
Add the following key to your info.plist file, located in <project root>/ios/Runner/Info.plist for saving shared images to photo library.
<key>NSPhotoLibraryAddUsageDescription</key>
<string>describe why your app needs access to write photo library</string>
Android
If your project needs read and write permissions for sharing external storage file, please add the following permissions to your AndroidManifest.xml, located in <project root>/android/app/src/main/AndroidManifest.xml