You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flutter: connect() hangs forever after an engine load failure #87
Found by reading the code while verifying the 0.2.0 README; not reproduced on a device.
If CheckgateBindings.open() throws (for example, the native engine is not linked), CheckgateClient.connect() leaves _connecting set to true. Every later connect() then returns a future that never completes. Also, close() starts the impression and event POSTs and then immediately closes the HTTP client, which may abort them.
Acceptance criteria
A failing engine load makes connect() complete with an error, and _connecting is reset; a later connect() tries again. Covered by a Dart test with a bindings loader that throws.
close() awaits its final impression/event sends (with a bounded timeout) before closing the HTTP client, or the README says the send is best-effort. Covered by a test against a local HTTP server.
Fixed in 0.2.1 by #99, #108 (merged to dev; part of the 0.2.1 release).
Verification: Flutter unit tests and the shared conformance suite in CI; verified in an iOS simulator app with the native engine linked (targeting, live updates, await close() delivering final reports, invalid key).
Activity
Merge pull request #99 from checkgate-sh/fix/v0.2.1-flutter
akosidencio commentedon Nov 30, 2026
Fixed in 0.2.1 by #99, #108 (merged to
dev; part of the 0.2.1 release).Verification: Flutter unit tests and the shared conformance suite in CI; verified in an iOS simulator app with the native engine linked (targeting, live updates,
await close()delivering final reports, invalid key).Details are in the 0.2.1 changelog.