Files
breez-sdk-liquid/packages/react-native/example
Erdem Yerebasmaz 573a345801 Downgrade android release to Uniffi 0.25 (#786)
* fix: revert minSdkVersion across all uniffi packages

This PR fixes a regression introduced in https://github.com/breez/breez-sdk-liquid/pull/766 due to a confusion between minSdkVersion requirement & minimum compileSdkVersion requirement.

* Bump package requirements on flutter_breez_liquid README

* Bump JNA used on bindings tests to 5.14.0

* Downgrade android release to Uniffi 0.25

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
2025-03-19 13:41:44 +03:00
..
2025-02-24 16:15:27 +02:00
2025-01-24 16:55:51 +01:00
2024-07-09 17:25:05 +02:00
2025-02-24 16:15:27 +02:00
2024-10-20 20:52:49 +02:00

Breez Liquid SDK React Native Example

Prerequisites

You need to set your Breez API key in the relevant places before running the example. Either Find and Replace INSERT_YOUR_BREEZ_API_KEY with your Breez API key, or replace INSERT_YOUR_BREEZ_API_KEY in the following files:

  • android/app/gradle.properties
  • ios/Secrets.xconfig

Build

Run the npm/yarn install to download dependences:

yarn

or

npm i

Run

Android

yarn android

Android Troubleshooting

  • Before running yarn android, stop any Metro instances that may be running.
  • If you get the error
    Failed to load dynamic library 'libbreez_sdk_liquid_bindings.so': dlopen failed: cannot locate symbol "__extenddftf2"
    
    that is likely due to a dependency issue affecting x86_64 images. Try to run the app on a physical Android device or on a x86 image.

iOS

yarn pods
yarn ios

Development

To develop the Breez Liquid SDK alongside the React Native module and example app, please read DEVELOPING.md for details on how to setup your development environment.