Skip to content

Commit

Permalink
[CHORE] Updated plugin manifest and testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
renesansz committed Feb 3, 2016
1 parent ba5ca90 commit 0ff9e8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ 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 ENCODED_ID=your-live-app-encoded-id
cordova plugin install branch-cordova-sdk --variable BRANCH_LIVE_KEY=your-branch-key
```

Thru Phonegap

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

**Note:** `APP_NAME` will serve as your URL scheme as well
Expand Down
3 changes: 1 addition & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ SOFTWARE.
<clobbers target="Branch" />
</js-module>

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

<engines>
Expand All @@ -61,7 +60,7 @@ SOFTWARE.
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" android:host="bnc.lt" android:pathPrefix="/$ENCODED_ID" />
<data android:scheme="https" android:host="bnc.lt" />
</intent-filter>
</config-file>
<source-file src="src/android/io/branch/BranchSDK.java" target-dir="src/io/branch" />
Expand Down

0 comments on commit 0ff9e8f

Please sign in to comment.