Add comments about uncommenting

This commit is contained in:
Ross Savage
2025-05-23 12:58:02 +02:00
parent bb9c92d924
commit 5e156d0dee
2 changed files with 7 additions and 3 deletions

View File

@@ -74,8 +74,10 @@ To use the locally built bindings instead of integrating them remotely, make the
- Rename `breez_sdk_liquid.podspec` to `breez_sdk_liquid.podspec.prod`
- Rename `BreezSDKLiquid.podspec.dev` to `BreezSDKLiquid.podspec`
- For Android:
- Comment out the following line from the dependencies section in `packages/react-native/android/build.gradle`:
- Comment the following line from the dependencies section in `packages/react-native/android/build.gradle`:
- `implementation("com.github.breez:breez-sdk-liquid:${getVersionFromNpmPackage()}") { exclude group:"net.java.dev.jna" }`
- Uncomment the following line from the dependencies section in `packages/react-native/android/build.gradle`:
- `implementation "org.jetbrains.kotlinx:atomicfu:0.23.1"`
Reinstall the dependencies in the example project and run it.
It will now use the locally built bindings.

View File

@@ -75,7 +75,9 @@ dependencies {
// the Android platform versions of JNA (specifically libjnadispatch.so) are missing when downloading the Breez Liquid SDK from Jitpack.
// Therefore we ignore the version of JNA that comes with the Breez Liquid SDK from Jitpack
// and manually add one that does include the necessary Android platform binaries.
implementation("com.github.breez:breez-sdk-liquid:${getVersionFromNpmPackage()}") { exclude group:"net.java.dev.jna" } // remove for using locally built bindings during development
//implementation "org.jetbrains.kotlinx:atomicfu:0.23.1"
implementation("net.java.dev.jna:jna:5.14.0@aar")
// Comment this line for using locally built bindings during development
implementation("com.github.breez:breez-sdk-liquid:${getVersionFromNpmPackage()}") { exclude group:"net.java.dev.jna" }
// Uncomment this line for using locally built bindings during development
// implementation "org.jetbrains.kotlinx:atomicfu:0.23.1"
}