connectivity_plus는 Android, iOS, Web, macOS, Windows, Linux에서 네트워크 연결 상태 변화를 감지하고 반응할 수 있도록 해주는 Flutter 플러그인입니다. 현재 활성화된 연결 유형(예: Wi-Fi, 모바일 데이터, 또는 연결 없음)에 대한 실시간 정보를 제공하여 개발자가 네트워크 가용성에 맞춰 적응하는 내구성이 뛰어난 애플리케이션을 구축할 수 있게 합니다. 이 패키지는 다양한 플랫폼 간에 간단하고 일관된 API를 제공하므로 오프라인 시나리오 처리, 데이터 동기화, 네트워크 상태 표시기 표시 등에 이상적입니다.
사용 사례
실시간으로 네트워크 상태 모니터링
오프라인 모드를 우아하게 처리하기
연결 표시기 표시
실패한 요청 자동 재시도
연결 유형에 따라 데이터 사용량 최적화
주요 기능
크로스 플랫폼 지원 (Android, iOS, Web, macOS, Windows, Linux)
실시간 연결 상태 업데이트
와이파이 및 모바일 데이터 연결 감지
초기 상태 및 스트림 기반 모니터링 모두 지원
간단하고 직관적인 API 및 최소 설정
적합한 대상
신뢰할 수 있는 네트워크 인식이 필요한 앱
오프라인 사용이 가능한 애플리케이션
연결 컨텍스트가 필요한 데이터 집약형 서비스
일관된 동작으로 여러 플랫폼을 타겟으로 하는 개발자
고려 사항
Android 및 iOS에서 플랫폼별 권한이 필요합니다
브라우저에 따라 웹 지원에 제한이 있을 수 있습니다
인터넷 액세스를 감지하지 않음—로컬 연결만
실제 인터넷 접근성을 확인하기 위해 추가 로직이 필요할 수 있습니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
Plus plugins
PlusPlugins is a set of Flutter plugins that is developed based on plugins, which previously existed
as a part of Flutter plugins, with extra functionalities,
support for more platforms and better maintenance.
Please file PlusPlugins specific issues, bugs, or feature requests in our issue tracker.
Plugin issues that are not specific to PlusPlugins can be filed in the Flutter issue tracker.
Contributing
If you wish to contribute a change to any of the existing plugins in this repo,
please review our contribution guide
and open a pull request.
Status
This repository is maintained by FlutterCommunity authors. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.