Skip to content
This repository was archived by the owner on Oct 24, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ cd ../

#Add to your app
yarn add ../react-native-lightning #Might need to adjust path if not cloned to same directory as app

# iOS installation

cd ios && pod install && cd ../

# Android installation

open `android/app/build.gradle` and add the below line to `dependencies`

`implementation files("../../node_modules/react-native-lightning/android/libs/Lndmobile.aar")`
````

## Running example app
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ repositories {
dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-native:+' // From node_modules
implementation fileTree(dir: "libs", include: ["*.aar"])
compileOnly files('libs/Lndmobile.aar')
implementation 'com.google.protobuf:protobuf-java:3.13.0'
implementation 'com.android.support:multidex:1.0.3'
}
Expand Down
3 changes: 3 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ dependencies {
} else {
implementation jscFlavor
}

implementation files("../../node_modules/react-native-lightning/android/libs/Lndmobile.aar")

}

// Run this once to be able to run the application with BUCK
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
jcenter()
}
dependencies {
classpath('com.android.tools.build:gradle:4.1.1')
classpath('com.android.tools.build:gradle:4.1.2')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down