서버 전송 이벤트(SSE) 클라이언트의 Dart 및 Flutter 구현으로, 서버에서 클라이언트로 실시간 통신을 가능하게 합니다. 이 패키지는 여러 플랫폼에서 이벤트 스트림을 효율적으로 처리함으로써 LaunchDarkly의 기능 플래그 및 구성 서비스와의 원활한 통합을 가능하게 합니다. 자동 재연결, 이벤트 파싱, 스트림 관리를 지원하여 휠링 없이 실시간 업데이트가 필요한 애플리케이션에 적합합니다. 생산 환경에서의 신뢰성과 성능을 위해 설계되었습니다.
사용 사례
실시간 기능 플래그 업데이트
실시간 구성 동기화
스트리밍 분석 이벤트
서버 이벤트에 기반한 동적 UI 업데이트
응용 프로그램 상태 변경 모니터링
주요 기능
자동 재연결을 지원합니다
이벤트 스트림 파싱 처리
크로스 플랫폼 호환성
강력한 오류 처리
경량이고 효율적
사용자 정의 재시도 로직
적합한 대상
실시간 데이터가 필요한 Flutter 앱
LaunchDarkly SDK를 사용하는 애플리케이션
저지연 서버 업데이트가 필요한 프로젝트
반응형 UI를 구축하는 개발자
실시간 업데이트 기능이 있는 기능 플래그를 구현하는 팀
고려 사항
안정적인 네트워크 연결이 필요합니다
모바일 기기에서 배터리 소모가 더 클 수 있습니다
양방향 통신에 적합하지 않습니다
서버에서 클라이언트로의 스트리밍에 한정
LaunchDarkly 백엔드 가용성에 따라 달라짐
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
LaunchDarkly Client-side SDK for Flutter
LaunchDarkly overview
LaunchDarkly is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. Get started using LaunchDarkly today!
Supported Platforms
See the pubspec.yaml file for Flutter version requirements.
This SDK supports Android, iOS, Linux, macOS, Web, and Windows.
The underlying API support requirements are determined by the native plugins used by the SDK.
These include:
shared_preferences: Used for persistent caching for flag payloads and other data.
Package which contains common code for dart based SDKs. Currently there is only a client-side SDK, but this directory should only contain code tha would apply to both client and server-side SDKs.
We run integration tests for all our SDKs using a centralized test harness. This approach gives us the ability to test for consistency across SDKs. These tests cover each method in the SDK, and verify that event sending, flag evaluation, stream reconnection, and other aspects of the SDK all behave correctly.
Contributing
We encourage pull requests and other contributions from the community. Read our contributing guidelines for instructions on how to contribute to this SDK.
About LaunchDarkly
LaunchDarkly is a feature management platform. We empower all teams to deliver and control their software. With LaunchDarkly, you can:
Roll out a new feature to a subset of your end users, such as a group of end users who opt in to a beta tester group, and gather feedback and bug reports from real-world use cases.
Gradually roll out a feature to an increasing percentage of customers, and track the effect that the feature has on key metrics. For instance, how likely is a customer to complete a purchase if they have feature A versus feature B?
Turn off a feature that is causing performance problems in production, without needing to re-deploy or even restart the application with a changed configuration file.
Grant access to certain features based on end user attributes, like payment plan. (For example, customers on the ‘gold’ plan have access to more features than customers in the ‘silver’ plan).
Disable parts of your application to facilitate maintenance, without taking everything offline.
LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Read our SDK documentation for a complete list.