Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
moust committed Apr 22, 2014
1 parent 97d29c6 commit e515b8b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ This plugin use the Cordova CLI's plugin command. To install it to your applicat
cordova plugin add org.apache.cordova.xapkreader --variable MAIN_VERSION=1 --variable PATCH_VERSION=1 --variable FILE_SIZE=1095520
```

`MAIN_VERSION` : Can be `1` or `0`. Define if your APK expansion file is the main file or a patch.
`PATCH_VERSION` : The version of your expansion file.
`FILE_SIZE` : The byte size of your expansion file. This is used to verify the intégrity of the file after downloading.
- `MAIN_VERSION` : Can be `1` or `0`. Define if your APK expansion file is the main file or a patch.
- `PATCH_VERSION` : The version of your expansion file.
- `FILE_SIZE` : The byte size of your expansion file. This is used to verify the intégrity of the file after downloading.

After installation you need to edit `src/org/apache/cordova/xapkreader/XAPKDownloaderService.java` to put your own application public key.

Further, you need to add the your application the __Downloader Library__ and __APK Expansion Zip Library__ from the `Android Extras` section using the Android SDK manager (run `android`).

This libraries are respectively located in :
APK Expansion Zip Library : `<sdk>/extras/google/google_market_apk_expansion/zip_file/`
Downloader Library : `<sdk>/extras/google/market_apk_expansion/downloader_library/`
- APK Expansion Zip Library : `<sdk>/extras/google/google_market_apk_expansion/zip_file/`
- Downloader Library : `<sdk>/extras/google/market_apk_expansion/downloader_library/`

Note that the Downloader Library require the __Google Play Licensing Library__ located in `<sdk>/extras/google/market_licensing/`.

Expand Down

0 comments on commit e515b8b

Please sign in to comment.