Skip to content

Commit

Permalink
Updated for {N} 1.2.3 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Aug 20, 2015
1 parent e253117 commit e177aa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
Scan a barcode (or a QR code, or a lot of other formats really)

## Prerequisites
Make sure you're using nativescript-cli 1.1.3 or up.
Instructions for older versions have been dropped from this readme.
NativeScript 1.2.3 (`tns --version`) has solved many build issues, so please upgrade if you need to.

## Prerequisites for Android
Check if you have Android-19 installed (required for building the ZXing library), run this from the command prompt:
Expand All @@ -26,14 +25,6 @@ From the command prompt go to your app's root folder and execute:
tns plugin add nativescript-barcodescanner
```

### iOS post-installation step
Due to [this issue](https://github.com/NativeScript/ios-runtime/pull/266) in NativeScript frameworks installed
from an iOS plugin are not correctly resolved. As a temporary fix you need to edit your `project.pbxproj` file
and add the full path to the framework like `"\"/Users/eddyverbruggen/barcodescannertest/lib/iOS/BarcodeScannerFramework\"",`
to both `FRAMEWORK_SEARCH_PATHS` sections (near the bottom of the file) or your project can't use the plugin
and will crash if it does.


## Usage

### function: scan
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "nativescript-barcodescanner",
"version": "1.0.0",
"version": "1.0.1",
"description" : "Scan QR/barcodes with a {N} app.",
"main" : "barcodescanner.js",
"nativescript": {
"platforms": {
"android": "1.1.3",
"ios": "1.2.0"
"ios": "1.2.3"
}
},
"repository": {
Expand Down

0 comments on commit e177aa7

Please sign in to comment.