Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_olm

Builds the native Olm library for Android and iOS to be used via dart:ffi.

pub.devRemove
jni

Provides Dart/Flutter bindings to call native Java code via JNI.

pub.devRemove
ScoresHealth4090 (best)
Maintenance299 (best)
Quality7697 (best)
Popularity1887 (best)
Community6480 (best)
Compatibility7379 (best)
UsageDownloads (30 days)1.4k11M (best)
Likes964 (best)
Pub points140 / 160160 / 160 (best)
GitHub stars—281
MaintenanceLatest release2.0.0, 2 years ago1.2.1, yesterday (best)
Major versions in 12 months0 (best)1
Contributors—100+
Publisherfamedly.comdart.dev
FitPlatformsAndroid, iOSAndroid, Windows, Linux
WASM-readyYesNo
KindPlugin (native code)Plugin (native code)
Code generationNoNo
Direct dependencies0 (best)8
LicenseAGPL-3.0BSD-3-CLAUSE
Setup effortMediumMedium
JudgementStrengths
  • Provides up‑to‑date native Olm builds
  • Supports both Android and iOS
  • Integrates with Dart FFI for high performance
  • Low‑level access to Java without writing platform channel code
  • Works on Android, Windows, and Linux
  • Integrates with JNIgen for automated binding generation
Weaknesses
  • Limited to Android and iOS platforms
  • Requires native build steps and proper Gradle/CMake setup
  • AGPL‑3.0 license may be restrictive for some projects
  • Requires native build setup and familiarity with JNI
  • Limited to platforms that support JVM (no iOS/web)
  • Potential for memory‑management bugs if misused
Warnings
  • Copyleft license
  • Native setup
  • Native setup
flutter_olm vs jni: which Flutter package should you use? | pubscout