Skip to content

feat!: replace Flutter bridge with Dart OpenFeature provider - #79

Open
nicklasl wants to merge 5 commits into
mainfrom
nicklasl/dart-client-provider
Open

nicklasl wants to merge 5 commits into
mainfrom
nicklasl/dart-client-provider

Conversation

@nicklasl

@nicklasl nicklasl commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Replace the native Flutter bridge with confidence_openfeature_provider at the repository root. The provider resolves flags in Dart, supports synchronous typed OpenFeature reads and context reconciliation, and reports exposures only after successful reads.

Migrate native visitor identity, cached flags and queued telemetry with durable import checkpoints. An atomic JSON outbox provides batching, retries and public flush; its 4 MiB budget drops the oldest unsent records. The documented trade-offs include asynchronous persistence and possible duplicate delivery after a crash. A small Foundation helper preserves legacy Swift calendar values without a native Confidence SDK dependency.

Update the public-API example, credential-free CI, migration guide and release configuration. Publishing remains disabled with publish_to: none.

Validation:

  • 157 offline tests, static analysis and formatting pass.
  • Live resolution, exposure delivery and tutorial-event acceptance pass for both Flutter SDK IDs.
  • Retained-sandbox upgrades pass on Android API 36 and iOS 26.3, including offline import, replay after restart and no repeat replay. These use native fixtures and simulated HTTP.
  • Android and iOS integration tests and Android, iOS SPM and CocoaPods builds pass.
  • Publication dry run passes with five documented warnings for deliberate dependency pins. No package has been published; broader OS coverage and publisher ownership remain first-release checks.

Generated with Codex.

Comment thread packages/confidence_openfeature_provider/lib/src/endpoints.dart Outdated
Comment thread packages/confidence_openfeature_provider/test/upstream_contract_test.dart Outdated
@nicklasl nicklasl changed the title feat: scaffold Dart OpenFeature provider package feat!: replace Flutter bridge with Dart OpenFeature provider Sep 21, 2026
Co-authored-by: Codex <noreply@openai.com>
@nicklasl
nicklasl force-pushed the nicklasl/dart-client-provider branch from e751057 to 8378c21 Compare September 25, 2026 06:28
nicklasl and others added 3 commits September 25, 2026 08:43
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@nicklasl
nicklasl marked this pull request as ready for review September 25, 2026 07:07
Co-authored-by: Codex <noreply@openai.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant