Skip to content

[jni_flutter] Fix release mode crash#3285

Merged
liamappelbe merged 3 commits into
mainfrom
jni_flutter_example
Apr 2, 2026
Merged

[jni_flutter] Fix release mode crash#3285
liamappelbe merged 3 commits into
mainfrom
jni_flutter_example

Conversation

@liamappelbe
Copy link
Copy Markdown
Contributor

Add an example so I can repro release mode missing symbols bug, then update the proguard rules to fix it.

Fix #3280

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

PR Health

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.

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
jni_flutter None 1.0.0 1.0.1 1.0.0 ✔️

This check can be disabled by tagging the PR with skip-breaking-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.

@liamappelbe liamappelbe requested a review from dcharkes April 2, 2026 04:37
Copy link
Copy Markdown
Collaborator

@dcharkes dcharkes left a comment

Choose a reason for hiding this comment

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

I am assuming the example app is just the generated stuff from flutter create? I didn't review that.

@liamappelbe
Copy link
Copy Markdown
Contributor Author

I am assuming the example app is just the generated stuff from flutter create? I didn't review that.

Yeah pretty much. I just updated lib/main.dart to invoke the package's APIs

@liamappelbe liamappelbe merged commit c7ebf68 into main Apr 2, 2026
33 of 34 checks passed
@liamappelbe liamappelbe deleted the jni_flutter_example branch April 2, 2026 07:22
Hassnaa9 pushed a commit to Hassnaa9/native that referenced this pull request Apr 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[jni_flutter] JNI library not available in Flutter apps (release mode only)

2 participants