mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-31 11:54:24 +01:00
Add comments about uncommenting
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user