Files
breez-sdk-liquid/lib/bindings/langs/flutter
Ross Savage 3ea6b1a9dc Publish Dart and Flutter packages (#356)
* Publish flutter artifacts and package

* Publish dart package

* Add LICENCE

* Force rm

* Don't copy lock files

* Fix output directory

* Fix podspec name

* Pass SWIFT_RELEASE_TOKEN

* Fix overrides indentation

* Update package version on CMake script

Update example dependencies

* Depend on dart & flutter packages from git on pubspec files

* Correct repository links & add publish_to: 'none'
* run just clean && just init

* Update README.md

* Download framework as part of prepare_command

* Use wget, then fallback to curl
* Remove redundant .zip suffix on the url

* Fix release tag

* Add v to tag replacement

* Fix podspec version

* Copy header file

* Downgrade vm_service

---------

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
2024-07-03 17:21:47 +02:00
..
2024-05-21 15:21:28 +02:00
2024-05-21 15:21:28 +02:00
2024-05-21 15:21:28 +02:00
2024-05-21 15:21:28 +02:00
2024-06-14 15:26:26 +03:00

breez_liquid_sdk_workspace

Binding generation & build scripts for Dart/Flutter packages of Breez Liquid SDK.

Prerequisites

Required

This guide assumes you have the following tools installed on any development machines:

Optional

If you would like to build your binaries (for Flutter devices) locally in addition to CI (say, to test on a real device or emulator), you will additionally need the following:

  • To compile to macOS/iOS targets
    • macOS
  • To cross-compile to Android targets
    • Android NDK
      • Most NDK versions should work nowadays due to fixes in cargo-ndk
        • Previously, NDK version 21 (r21e) was the only one that could be used easily
          • You might see reference to this elsewhere, but that is largely out of date
        • NDK version 25 (r25b) was working at the time of writing this documentation
  • To cross-compile to Windows/Linux targets
    • Zig
    • llvm (with clang-cl!)
      • Need to run brew install llvm on macOS since Apple's llvm doesn't have it

Getting Started

Run just bootstrap true true to initialize your workspace. First parameter installs frb dependencies, second parameter builds the libraries.

To see all available recipes, run just.

Troubleshooting

License

Dual-licensed under Apache 2.0 and MIT.