Skip to content
This repository was archived by the owner on Jan 24, 2020. It is now read-only.

Replace deprecated compile in favor of implementation for Android builds (RN0.57+) #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ If automatic linking does not work, you can manually link this library by follow

1. Open your project in Xcode, right click on `Libraries` and click `Add
Files to "Your Project Name"` Look under `node_modules/react-native-cookies/ios` and add `RNCookieManagerIOS.xcodeproj`.
2. Add `libRNCookieManagerIOS.a` to `Build Phases -> Link Binary With Libraries.
2. Add `libRNCookieManagerIOS.a` to `Build Phases -> Link Binary With Libraries`.
3. Clean and rebuild your project

##### Android
Expand All @@ -53,7 +53,7 @@ project(':react-native-cookies').projectDir = new File(rootProject.projectDir, '
```gradle
dependencies {
...
compile project(':react-native-cookies')
implementation project(':react-native-cookies')
}
```

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ repositories {
}

dependencies {
compile 'com.facebook.react:react-native:+'
implementation 'com.facebook.react:react-native:+'
}