Skip to content

Commit b8ae081

Browse files
guangyaoguangyao
authored andcommitted
Change readme
1 parent 7a70e0d commit b8ae081

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
#### iOS
1616

1717
1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
18-
2. Go to `node_modules``react-native-local-image` and add `RNInputRecord.xcodeproj`
19-
3. In XCode, in the project navigator, select your project. Add `libRNInputRecord.a` to your project's `Build Phases``Link Binary With Libraries`
18+
2. Go to `node_modules``react-native-local-image` and add `RNLocalImage.xcodeproj`
19+
3. In XCode, in the project navigator, select your project. Add `libRNLocalImage.a` to your project's `Build Phases``Link Binary With Libraries`
2020
4. Run your project (`Cmd+R`)<
2121

2222
#### Android
2323

2424
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
25-
- Add `import com.reactlibrary.RNInputRecordPackage;` to the imports at the top of the file
26-
- Add `new RNInputRecordPackage()` to the list returned by the `getPackages()` method
25+
- Add `import com.reactlibrary.RNLocalImagePackage;` to the imports at the top of the file
26+
- Add `new RNLocalImagePackage()` to the list returned by the `getPackages()` method
2727
2. Append the following lines to `android/settings.gradle`:
2828
```
2929
include ':react-native-local-image'
@@ -37,17 +37,17 @@
3737
#### Windows
3838
[Read it! :D](https://github.com/ReactWindows/react-native)
3939

40-
1. In Visual Studio add the `RNInputRecord.sln` in `node_modules/react-native-local-image/windows/RNInputRecord.sln` folder to their solution, reference from their app.
40+
1. In Visual Studio add the `RNLocalImage.sln` in `node_modules/react-native-local-image/windows/RNLocalImage.sln` folder to their solution, reference from their app.
4141
2. Open up your `MainPage.cs` app
42-
- Add `using Com.Reactlibrary.RNInputRecord;` to the usings at the top of the file
43-
- Add `new RNInputRecordPackage()` to the `List<IReactPackage>` returned by the `Packages` method
42+
- Add `using Com.Reactlibrary.RNLocalImage;` to the usings at the top of the file
43+
- Add `new RNLocalImagePackage()` to the `List<IReactPackage>` returned by the `Packages` method
4444

4545

4646
## Usage
4747
```javascript
48-
import RNInputRecord from 'react-native-local-image';
48+
import RNLocalImage from 'react-native-local-image';
4949

5050
// TODO: What to do with the module?
51-
RNInputRecord;
51+
RNLocalImage;
5252
```
53-
53+

0 commit comments

Comments
 (0)