Files
breez-sdk-liquid/lib/ls-sdk-react-native/example
ok300 522bdaea5c Rename init() to connect() (#119)
* Rename init() to connect()

* Shorten commit ID for secp256k1-zkp dependency

* Update RN bindings

* Rename the manually coded init function to connect

* Update RN example app

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
2024-04-29 15:25:48 +00:00
..
2024-04-29 15:25:48 +00:00

Liquid Swap SDK React Native Example

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 'libls_sdk_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 Liquid Swap SDK alongside the React Native module and example app, please read DEVELOPING.md for details on how to setup your development environment.