Skip to content

Commit

Permalink
[FIX] Variable naming typo
Browse files Browse the repository at this point in the history
  • Loading branch information
renesansz committed Feb 20, 2016
1 parent d6d5880 commit f2e30e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ There are multiple ways to add the plugin in to your app.
Thru Cordova

```sh
cordova plugin install branch-cordova-sdk --variable BRANCH_LIVE_KEY=your-branch-key --variable APP_NAME=your-app-name --variable ENCODED_ID=your-encoded-id
cordova plugin install branch-cordova-sdk --variable BRANCH_LIVE_KEY=your-branch-key --variable URI_SCHEME=your-app-name --variable ENCODED_ID=your-encoded-id
```

Thru Phonegap

```sh
phonegap plugin add branch-cordova-sdk --variable BRANCH_LIVE_KEY=your-branch-key --variable APP_NAME=your-app-name --variable ENCODED_ID=your-encoded-id
phonegap plugin add branch-cordova-sdk --variable BRANCH_LIVE_KEY=your-branch-key --variable URI_SCHEME=your-app-name --variable ENCODED_ID=your-encoded-id
```

**Note:** `APP_NAME` will serve as your URL scheme as well
**Note:** `URI_SCHEME` will serve as your URL scheme as well

Thru NPM
```sh
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ SOFTWARE.
</js-module>

<preference name="BRANCH_LIVE_KEY" />
<preference name="APP_NAME" />
<preference name="URI_SCHEME" />
<preference name="ENCODED_ID" />

<engines>
Expand Down Expand Up @@ -89,7 +89,7 @@ SOFTWARE.
<string>io.branch.sdk</string>
<key>CFBundleURLSchemes</key>
<array>
<string>$APP_NAME</string>
<string>$URI_SCHEME</string>
</array>
</dict>
</array>
Expand Down

0 comments on commit f2e30e2

Please sign in to comment.