Files
breez-sdk-liquid/packages/flutter
Erdem Yerebasmaz 015fb1f307 Bug fixes & improvements on Flutter plugin example app (#359)
* Remove unneeded resource files from iOS Project

* Remove breez_liquid_sdk.h
* Remove outdated method to enforce bundling on AppDelegate

* Add NSCameraUsageDescription to be able to scan QR codes on example app

* Do not show "No Balance" text when balance is 0

* Wait for reconnect attempt on startup

* Add a cancel button to mobile scanner

* Bound size of QR image view

* Reverse the payment list
2024-07-08 12:38:38 +03:00
..

Breez Liquid SDK plugin

pub package

Table of contents

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.

Installation

To use this plugin, add breez_liquid_sdk as a dependency in your pubspec.yaml file.

Usage

To start using this package first import it in your Dart file.

import 'package:flutter_breez_liquid/flutter_breez_liquid.dart';

Call initialize() to initialize Breez Liquid SDK, preferably on main.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