Skip to content

Conversation

HosseinYousefi
Copy link
Member

@HosseinYousefi HosseinYousefi commented Aug 12, 2025

Uses a map on the Java side to store all the plugin instances with the key of engineId. On the Dart side, we use the engineId to access to correct Flutter Engine's context even when there are multiple.

Fetching activity is now exposed via a stream that users will listen to instead of a single cached one. Flutter users will have to use a StreamBuilder or similar to access activity this way.

Copy link

github-actions bot commented Aug 12, 2025

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
jni Breaking 0.14.2 0.15.0-wip 0.15.0 ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

License Headers ✔️
// Copyright (c) 2025, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/objective_c/lib/src/ns_input_stream.dart

This check can be disabled by tagging the PR with skip-license-check.

@coveralls
Copy link

coveralls commented Oct 17, 2025

Coverage Status

coverage: 86.562% (-5.4%) from 91.972%
when pulling 1c04bd4 on fix-context
into f7c7d52 on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package:jni package:jnigen type-infra A repository infrastructure change or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants