Skip to content

Commit e032b2f

Browse files
committed
fix:README
fix:README
1 parent b8ae081 commit e032b2f

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#### Android
2323

2424
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
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
25+
- Add `import com.local.image.RCTLocalPackage;` to the imports at the top of the file
26+
- Add `new RCTLocalPackage()` 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'
@@ -34,20 +34,12 @@
3434
compile project(':react-native-local-image')
3535
```
3636

37-
#### Windows
38-
[Read it! :D](https://github.com/ReactWindows/react-native)
39-
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.
41-
2. Open up your `MainPage.cs` app
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
44-
4537

4638
## Usage
4739
```javascript
4840
import RNLocalImage from 'react-native-local-image';
4941

50-
// TODO: What to do with the module?
42+
// TODO: What to do with the view?
5143
RNLocalImage;
5244
```
5345

0 commit comments

Comments
 (0)