Skip to content

Commit e6abc44

Browse files
committed
fix package.json
1 parent a4d77e1 commit e6abc44

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ npm install @remobile/react-native-file-transfer --save
99
### Installation (iOS)
1010
* Drag RCTFileTransfer.xcodeproj to your project on Xcode.
1111
* Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag libRCTFileTransfer.a from the Products folder inside the RCTFileTransfer.xcodeproj.
12-
* Look for Header Search Paths and make sure it contains both $(SRCROOT)/../react-native/React as recursive.
12+
* Look for Header Search Paths and make sure it contains $(SRCROOT)/../../../react-native/React as recursive.
1313

1414
### Installation (Android)
1515
```gradle
1616
...
1717
include ':react-native-file-transfer'
18-
project(':react-native-file-transfer').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-file-transfer/android')
18+
project(':react-native-file-transfer').projectDir = new File(rootProject.projectDir, '../node_modules/@remobile/react-native-file-transfer/android')
1919
```
2020

2121
* In `android/app/build.gradle`

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@
2727
"repository": {
2828
"type": "git",
2929
"url": "git://github.com/remobile/react-native-file-transfer.git"
30+
},
31+
"peerDependencies": {
32+
"@remobile/react-native-cordova": "latest"
3033
}
3134
}

0 commit comments

Comments
 (0)