tree: 6ad7b3649a77e7863a7936da7f05b62ed48cbe49
  1. android/
  2. example/
  3. lib/
  4. .metadata
  5. analysis_options.yaml
  6. jnigen.yaml
  7. pubspec.yaml
  8. README.md
pkgs/jnigen/example/notification_plugin/README.md

notification_plugin

Example of Android plugin project with JNIgen.

This plugin project contains custom code which uses the Android libraries. The bindings are generated using JNIgen config and then used in flutter example, with help of package:jni APIs.

The command to regenerate JNI bindings is:

dart run jnigen --config jnigen.yaml # run from notification_plugin project root 

The example/ app must have its dependencies resolved (eg flutter pub get) before running JNIgen.