Orientação gerada a partir de informações públicas. Apenas para referência.
Uma implementação em Dart e Flutter de um cliente de Eventos Enviados pelo Servidor (SSE), permitindo comunicação em tempo real do servidor para os clientes. Este pacote facilita a integração perfeita com os serviços de sinalizadores de funcionalidades e configurações da LaunchDarkly, gerenciando fluxos de eventos de forma eficiente em múltiplas plataformas. Suporta reconexão automática, análise de eventos e gerenciamento de fluxos, sendo ideal para aplicações que exigem atualizações em tempo real sem necessidade de polling. Projetado para confiabilidade e desempenho em ambientes de produção.
Casos de uso
Atualizações em tempo real de sinalizadores de recurso
Sincronização de configuração ao vivo
eventos de análise em streaming
Atualizações dinâmicas da interface com base em eventos do servidor
Monitoramento de alterações no estado do aplicativo
Principais recursos
Suporta reconexão automática
Processa o fluxo de eventos
Compatibilidade multiplataforma
Tratamento robusto de erros
Leve e eficiente
Lógica de repetição configurável
Indicado para
Aplicativos Flutter que precisam de dados em tempo real
Aplicações usando o SDK do LaunchDarkly
Projetos que exigem atualizações de servidor de baixa latência
Desenvolvedores construindo interfaces de usuário reativas
Equipes implementando flags de funcionalidade com atualizações em tempo real
Considerações
Requer conexão de rede estável
Pode consumir mais bateria em dispositivos móveis
Não adequado para comunicação bidirecional
Limitado à transmissão do servidor para o cliente
Dependente da disponibilidade do backend do LaunchDarkly
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
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.