Compare commits

...

3 Commits

Author SHA1 Message Date
Overtorment
23ef0fd8cb Merge remote-tracking branch 'upstream/fix/android11' into main 2021-01-18 10:45:13 +00:00
G
c42894445c
Merge pull request #10 from BlueWallet/main
Changing aar dependency to be compile only
2021-01-11 07:22:46 -05:00
Overtorment
90679b05e0 changing aar dependency to be compile only 2021-01-08 13:42:38 +00:00
2 changed files with 9 additions and 6 deletions

View File

@ -84,12 +84,15 @@ or
yarn add react-native-tor
```
2. Link libs
- Android: there's nothing to do.
- Android: open `android/app/build.gradle` and add
```
implementation files("../../node_modules/react-native-tor/android/libs/sifir_android.aar")
```
- iOS:
```
cd ios/
pod install
```
```
cd ios/
pod install
```
*iOS Projects note*:
- iOS 11.1 > only: Support iOS Version is 11.1 and higher (#6)

View File

@ -127,5 +127,5 @@ dependencies {
// noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation fileTree(include: ['*.aar'], dir: 'libs')
compileOnly files('libs/sifir_android.aar')
}