Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gevgasparyan committed Dec 20, 2019
1 parent afe0024 commit eb93466
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

# react-native-qr-generator
# rn-qr-generator

## Getting started

`$ npm install react-native-qr-generator --save`
`$ npm install rn-qr-generator --save`

### Mostly automatic installation

`$ react-native link react-native-qr-generator`
`$ react-native link rn-qr-generator`

---

Expand All @@ -25,7 +25,7 @@ ___
#### iOS

1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
2. Go to `node_modules``react-native-qr-generator` and add `RNQrGenerator.xcodeproj`
2. Go to `node_modules``rn-qr-generator` and add `RNQrGenerator.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNQrGenerator.a` to your project's `Build Phases``Link Binary With Libraries`
4. Run your project (`Cmd+R`)<

Expand All @@ -36,12 +36,12 @@ ___
- Add `new RNQrGeneratorPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
```
include ':react-native-qr-generator'
project(':react-native-qr-generator').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-qr-generator/android')
include ':rn-qr-generator'
project(':rn-qr-generator').projectDir = new File(rootProject.projectDir, '../node_modules/rn-qr-generator/android')
```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
```
compile project(':react-native-qr-generator')
compile project(':rn-qr-generator')
```


Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"qr",
"qrcode",
"qr generator",
"qrcode image"
"qrcode image",
"react-native qrcode generator"
],
"author": "Gevorg Gasparyan <[email protected]>",
"homepage": "https://github.com/gevorg94/rn-qr-generator#readme",
Expand Down

0 comments on commit eb93466

Please sign in to comment.