搜尋套件、儲存庫與 APP 分類

套件詳情v3.1.0

launchdarkly_event_source_client

用於 dart 和 flutter 的伺服器發送事件 (SSE) 客戶端實作。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
11.4萬
喜歡數
3
Pub 分數
150

安裝套件

flutter pub add launchdarkly_event_source_client

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

一個 Dart 與 Flutter 實現的伺服器發送事件(SSE)客戶端,支援伺服器至客戶端的即時通訊。此套件透過有效處理跨多個平台的事件串流,實現與 LaunchDarkly 特性旗標與設定服務的無縫整合。支援自動重連、事件解析與串流管理,非常適合需要即時更新而無需輪詢的應用程式。專為生產環境中的可靠性與效能設計。

適用情境

  • 即時功能旗標更新
  • 即時配置同步
  • 串流分析事件
  • 基於伺服器事件的動態UI更新
  • 監控應用狀態變化

主要特色

  • 支援自動重連
  • 處理事件流解析
  • 跨平台相容性
  • 強大的錯誤處理
  • 輕便高效
  • 可設定的重試邏輯

適合對象

  • 需要即時資料的Flutter應用
  • 使用 LaunchDarkly SDK 的應用程式
  • 需要低延遲伺服器更新的專案
  • 開發反應式使用者介面的開發者
  • 實施具有即時更新功能旗標的團隊

使用建議

  • 需要穩定的網絡連接
  • 在移動設備上可能會消耗更多電池
  • 不適用於雙向通訊
  • 僅限伺服器到客戶端的串流
  • 取決於 LaunchDarkly 後端可用性

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

LaunchDarkly Client-side SDK for Flutter

Action Status Pub

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!

Twitter Follow

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:

Getting started

Refer to the SDK documentation for instructions on getting started with using the SDK.

Organization

The repository is a monorepo containing the packages required to make the SDK as well as testing and example applications.

Directory Readme Description
.github Contains CI and release process workflows and actions.
packages Contains flutter/dart libraries.
packages/flutter_client_sdk Flutter Client SDK Package which implements the LaunchDarkly client-side SDK for flutter.
packages/common Common 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.
packages/client Common Client Package containing code that is specific to client-side SDKs, but not specific to flutter.
packages/event_source_client Event Source Client Package implementing support for SSE.
apps Contains sample and test applications.
apps/sse_contract_test_service SSE Contract Test Service This application is used to test the SSE implementation used by the SDK.
apps/flutter_client_contract_test_service Flutter Client Contract Test Service This application is used to test the functionality of the SDK.
architecture Contains diagrams and other supporting architecture documents.

Learn more

Read our documentation for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the complete reference guide for this SDK or our code-generated API documentation.

Testing

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.
  • Explore LaunchDarkly

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。