Skip to content

Commit 0d9a8af

Browse files
authored
docs: Updated old import names (#20)
1 parent 307275f commit 0d9a8af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ If you can't or don't want to use the CLI tool, you can also manually link the l
6363
<summary>Manually link the library on iOS</summary>
6464

6565
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
66-
2. Go to `node_modules``react-native-tcp-socket` and add `TcpSocket.xcodeproj`
67-
3. In XCode, in the project navigator, select your project. Add `libTcpSocket.a` to your project's `Build Phases``Link Binary With Libraries`
66+
2. Go to `node_modules``react-native-tcp-socket` and add `TcpSockets.xcodeproj`
67+
3. In XCode, in the project navigator, select your project. Add `libTcpSockets.a` to your project's `Build Phases``Link Binary With Libraries`
6868
4. Run your project (`Cmd+R`)<
6969
</details>
7070

7171
<details>
7272
<summary>Manually link the library on Android</summary>
7373

7474
1. Open up `android/app/src/main/java/[...]/MainApplication.java`
75-
- Add `import com.reactlibrary.TcpSocketPackage;` to the imports at the top of the file
75+
- Add `import com.asterinet.react.tcpsocket.TcpSocketPackage;` to the imports at the top of the file
7676
- Add `new TcpSocketPackage()` to the list returned by the `getPackages()` method
7777
2. Append the following lines to `android/settings.gradle`:
7878
```

0 commit comments

Comments
 (0)