Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
PG 3.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eccenux committed Jul 24, 2013
1 parent 5833a1f commit e728d33
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,18 @@ Workflow for creating and building example project with the plugin:
cordova build
```

2. Copy plugin files to "hello\plugins\barcodescanner\".
2. Copy plugin files to "hello\plugins\com.phonegap.plugins.barcodescanner\". You can simply download from github:
```
git clone https://github.com/wildabeast/BarcodeScanner.git plugins\com.phonegap.plugins.barcodescanner
```

3. Install the plugin (current dir. being "hello"):
3. If this is a first plguin add ```<plugins></plugins>``` in "platforms\android\res\xml\config.xml" (just above ```</widgets>```).

4. Install the plugin (current dir. being "hello"):
```
plugman --plugins_dir plugins --plugin barcodescanner --platform android --project platforms\android
plugman --plugins_dir plugins --plugin com.phonegap.plugins.barcodescanner --platform android --project platforms\android
```

4. Build & deploy Android project with whatever Android IDE (or ANT + ADK tools).
5. Build & deploy Android project with whatever Android IDE (or ANT + ADK tools).

Note. Plugin sub-dir (here "com.phonegap.plugins.barcodescanner") need to be the same as the plugin ID only since PhoneGap 3.0.

0 comments on commit e728d33

Please sign in to comment.