Aus öffentlichen Paketdaten erstellte Orientierung.
Eine Dart- und Flutter-Implementierung eines Server-Sent Events (SSE)-Clients, der Echtzeitkommunikation von Servern zu Clients ermöglicht. Dieses Paket erleichtert die nahtlose Integration mit den Feature-Flag- und Konfigurationsservices von LaunchDarkly, indem es Ereignisströme effizient über mehrere Plattformen hinweg verarbeitet. Es unterstützt automatische Neuanbindung, Ereignisanalyse und Stream-Management und ist daher ideal für Anwendungen, die Live-Updates ohne Polling benötigen. Speziell für Zuverlässigkeit und Leistung in Produktionsumgebungen entwickelt.
Anwendungsfälle
Echtzeit-Feature-Flag-Updates
Live-Konfigurationssynchronisierung
Streaming-Analytik-Ereignisse
Dynamische UI-Aktualisierungen basierend auf Serverereignissen
Überwachung von Anwendungsstatusänderungen
Hauptmerkmale
Unterstützt automatische Wiederherstellung der Verbindung
Verarbeitet Ereignisstromanalyse
Plattformübergreifende Kompatibilität
Robuste Fehlerbehandlung
Leicht und effizient
Konfigurierbare Wiederholungslogik
Geeignet für
Flutter-Apps, die Echtzeitdaten benötigen
Anwendungen, die das LaunchDarkly SDK verwenden
Projekte, die niedrige Latenz-Server-Updates erfordern
Entwickler, die reaktive Benutzeroberflächen erstellen
Teams, die Feature-Flags mit Live-Updates implementieren
Hinweise
Stabile Netzwerkverbindung erforderlich
Kann auf mobilen Geräten mehr Akku verbrauchen
Nicht geeignet für bidirektionale Kommunikation
Beschränkt auf Server-zu-Klient-Streaming
Abhängig von der Verfügbarkeit des LaunchDarkly-Backends
Original-README
Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.
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.