mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-17 21:14:22 +01:00
* 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>
59 lines
1.7 KiB
Markdown
59 lines
1.7 KiB
Markdown
# Breez Liquid SDK plugin
|
|
|
|
[](https://pub.dev/packages/breez_liquid_sdk)
|
|
|
|
## Table of contents
|
|
- [Platform Support](#platform-support)
|
|
- [Requirements](#requirements)
|
|
- [Description](#description)
|
|
- [Installation](#installation)
|
|
- [Usage](#usage)
|
|
- [Documentation](#documentation)
|
|
|
|
## Platform Support
|
|
|
|
| Android | iOS | MacOS | Web | Linux | Windows |
|
|
| :-----: | :-: | :---: | :-: | :---: | :----: |
|
|
| ✅ | ❎ | ❎ | ❎ | ❎ | ❎ |
|
|
|
|
## Requirements
|
|
|
|
- Flutter >=3.10.0
|
|
- Dart >=3.4.0 <4.0.0
|
|
- iOS >=12.0
|
|
- MacOS >=10.11
|
|
- Android `compileSDK` 31
|
|
- Java 1.8
|
|
- Android Gradle Plugin >=7.1.2
|
|
- Gradle wrapper >=7.4
|
|
|
|
## Description
|
|
|
|
This is a Flutter package that wraps the Dart bindings of [Breez Liquid SDK](https://github.com/breez/breez-liquid-sdk?tab=readme-ov-file#readme).
|
|
|
|
## Installation
|
|
To use this plugin, add `breez_liquid_sdk` as a [dependency in your pubspec.yaml file](https://flutter.dev/docs/development/platform-integration/platform-channels).
|
|
|
|
## Usage
|
|
|
|
To start using this package first import it in your Dart file.
|
|
|
|
```dart
|
|
import 'package:flutter_breez_liquid/flutter_breez_liquid.dart';
|
|
```
|
|
Call `initialize()` to initialize Breez Liquid SDK, preferably on `main.dart`:
|
|
|
|
```dart
|
|
import 'package:flutter_breez_liquid/flutter_breez_liquid.dart' as liquid_sdk;
|
|
|
|
void main() async {
|
|
// Initialize library
|
|
await liquid_sdk.initialize();
|
|
}
|
|
```
|
|
|
|
Please refer to Dart examples on Breez Liquid SDK documentation for more information on features & capabilities of the Breez Liquid SDK.
|
|
|
|
## Documentation
|
|
|
|
- [Official Breez Liquid SDK documentation](https://sdk-doc-liquid.breez.technology/) |