Skip to content

psyberfly/lwk-flutter-uniffi-demo

Repository files navigation

lwk-flutter uniFFI demo

A demo flutter app for Android providing lwk_bindings (lwk_wollet, lwk_signer,lwk_common) over FFI.
lwk_bindings for Kotlin generated from lwk via uniFFI.
lwk_bindings invoked from Flutter using flutter platform channels.

Pre-requisites:

Android binaries located in: Android bins

Kotlin-bindings located in: Kotlin_bindings

For Android, ensure that the gradle.build and gradle.settings match those mentioned in the official lwk_android_example.

Dev:

2 interfaces need to be maintained:

The kotlin-binary interface in: Kotlin-Bin interface

The dart-kotlin interface in: Dart-Kotlin interface

Usage:

  1. flutter pub get
  2. flutter run

Dev Help:

If autocomplete suggestions (intellisense) for methods exported by lwk_bindings.kt are unavailable in your IDE, work with MainActivity.kt in Android Studio.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published