안드로이드 및 iOS에서 다른 앱과 이미지와 텍스트를 원활하게 공유할 수 있는 플러터 플러그인입니다. 시스템 레벨의 공유 인텐트와의 통합을 간소화하여 이메일, 메시징 앱, 소셜 미디어 등으로 콘텐츠를 전송할 수 있도록 합니다. 일반적인 형식인 PNG 및 JPEG을 지원하는 단순한 API를 제공하여 텍스트 및 이미지 데이터를 공유할 수 있습니다. 사용하기 쉬운 설계로 플랫폼별 차이점을 자동으로 처리합니다. 복잡한 설정 없이 빠르고 네이티브한 공유 기능이 필요한 앱에 적합합니다.
사용 사례
앱에서 생성한 이미지 공유
소셜 미디어로 텍스트 조각 보내기
메시징 앱과의 통합
사용자 콘텐츠 내보내기 활성화
앱 간 협업 지원
주요 기능
크로스 플랫폼 공유 (Android 및 iOS)
텍스트 및 이미지 공유를 위한 간단한 API
플랫폼 차이에 대한 자동 처리
일반적인 이미지 형식을 지원합니다
내장된 의도 통합
적합한 대상
소셜 미디어 통합
콘텐츠 생성 앱
사용자 생성 콘텐츠 공유
빠른 내보내기 옵션이 필요한 앱
최소 설정을 원하는 개발자
고려 사항
Android에서 적절한 권한이 필요합니다
기본 공유 기능에만 제한됨
내장된 미리 보기 또는 사용자 지정 기능 없음
외부 앱 사용 가능 여부에 따라 달라집니다
특정 플랫폼용으로 추가 구성이 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
vocsy_esys_flutter_share
A Flutter plugin for sharing files & text with other applications.
IMPORTANT Is a forked for null-safety from esys_flutter_share
IMPORTANT Note for iOS
If you are starting a new fresh app, you need to create the Flutter App
with flutter create -i swift (
see flutter/flutter#13422 (comment))
, otherwise, you will get this message:
=== BUILD TARGET flutter_inappbrowser OF PROJECT Pods WITH CONFIGURATION Debug ===
The"Swift Language Version" (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. Supported values are: 3.0, 4.0, 4.2. This setting can be setin the build settings editor.
If you still have this problem, try to edit iOS Podfile like this (
see #15):
target 'Runner'do
use_frameworks! # required by simple_permission
...
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'# required by simple_permission
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end