# jni_flutter 1.0.2

A library to access Flutter Android specific APIs from Dart.




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'jni_flutter:1.0.2'
```
Published: 2026-07-28T04:51:37.541722Z
Expected archive SHA-256: 7b717011ea40d04fd47c2731d3d1d36eb99eba3435c2753d62489e8c3c9991d5

Available in cache; verification: upstream_checksum
## Direct dependencies
- flutter: map[sdk:flutter]
- jni: ^1.0.0

## Package README (untrusted upstream documentation)
[![Build Status](https://github.com/dart-lang/native/actions/workflows/jnigen.yaml/badge.svg)](https://github.com/dart-lang/native/actions/workflows/jnigen.yaml)
[![Coverage Status](https://coveralls.io/repos/github/dart-lang/native/badge.svg?branch=main)](https://coveralls.io/github/dart-lang/native?branch=main)
[![pub package](https://img.shields.io/pub/v/jni_flutter.svg)](https://pub.dev/packages/jni_flutter)
[![package publisher](https://img.shields.io/pub/publisher/jni_flutter.svg)](https://pub.dev/packages/jni_flutter/publisher)

# JNI Flutter

This is a support library for accessing Flutter Android APIs from Dart code.
It's a spin-off from package:jni, containing the APIs that are Flutter specific.

## Changelog
## 1.0.2

- Use JNIgen 0.17.0.

## 1.0.1

- Add an example app.
- Fixed release mode crash by adding Proguard rules to preserve plugin Java
  classes.

## 1.0.0

- Initial version: Adds the `androidApplicationContext` and
  `androidActivity(int engineId)` APIs, which used to be part of package:jni.







 
