Skip to content

Conversation

@josxha
Copy link
Owner

@josxha josxha commented Nov 18, 2025

jni 0.15.1 introduced a breaking change, this pr migrates the code to jni ^0.15.2
dart-lang/native#2777

josxha and others added 3 commits November 19, 2025 00:09
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
@josxha josxha added this to the v0.3.2 milestone Nov 18, 2025
Copilot AI review requested due to automatic review settings November 18, 2025 23:11
@github-project-automation github-project-automation bot moved this to Backlog in maplibre dev Nov 18, 2025
Copilot finished reviewing on behalf of josxha November 18, 2025 23:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the jni package dependency, though there's a discrepancy between the title (0.15.1) and the actual version (0.15.2). The update includes adapting to API changes in the jni package where certain methods no longer require the _engineId parameter.

Key Changes:

  • Updated jni dependency from ^0.15.0 to ^0.15.2
  • Modified getJContext() to use the updated jni API without _engineId parameter
  • Updated js-yaml transitive dependency from 3.14.1 to 3.14.2 in docs lockfile

Reviewed Changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 1 comment.

File Description
maplibre/pubspec.yaml Updates jni package dependency version from ^0.15.0 to ^0.15.2
maplibre/lib/src/platform/android/functions.dart Adapts getJContext() to new jni API by removing _engineId parameter from androidApplicationContext call
docs/yarn.lock Updates js-yaml dependency version from 3.14.1 to 3.14.2 with updated checksum

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Nov 18, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 26.61%. Comparing base (bacbbcb) to head (bd91601).
⚠️ Report is 1 commits behind head on main.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Nov 18, 2025

Deploying flutter-maplibre with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5f7f864
Status: ✅  Deploy successful!
Preview URL: https://245774a6.flutter-maplibre.pages.dev
Branch Preview URL: https://feat-jni-0-15-1.flutter-maplibre.pages.dev

View logs

Copilot AI review requested due to automatic review settings November 18, 2025 23:16
Copilot finished reviewing on behalf of josxha November 18, 2025 23:18
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings November 18, 2025 23:23
Copilot finished reviewing on behalf of josxha November 18, 2025 23:26
@josxha josxha changed the title feat: jni 0.15.1 feat: jni 0.15.2 Nov 18, 2025
@josxha josxha enabled auto-merge (squash) November 18, 2025 23:27
@josxha josxha merged commit 1d9dd53 into main Nov 18, 2025
21 of 22 checks passed
@josxha josxha deleted the feat/jni-0.15.1 branch November 18, 2025 23:31
@github-project-automation github-project-automation bot moved this from Backlog to Done in maplibre dev Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants