Skip to content

Commit

Permalink
updated init.sh; small fix for contentMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jestoniyap committed Mar 4, 2016
1 parent 2faabbb commit 09b1f2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"mkpath": "^1.0.0",
"node-version-compare": "^1.0.1",
"plist": "^1.2.0",
"rimraf": "^2.5.1",
"rimraf": "^2.5.2",
"xml2js": "^0.4.16"
}
}
2 changes: 1 addition & 1 deletion src/android/io/branch/BranchSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ private void createBranchUniversalObject(JSONObject options) throws JSONExceptio

while (keys.hasNext()) {
String key = (String) keys.next();
Log.d(LCAT, contentMetaData.getString(key));
String value = contentMetaData.optString(key);
Log.d(LCAT, contentMetaData.getString(key));
this.branchObj.addContentMetadata(key, value);
}
}
Expand Down
3 changes: 2 additions & 1 deletion testbed/init.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
cordova platform add ios android
cordova plugin add ../ --link --variable BRANCH_LIVE_KEY=key_live_fnmRM1FXtu11t6e4LU8WsldpvDcA0bzv --variable URI_SCHEME=testbed --variable ENCODED_ID=X9Ug
cordova plugin add ../ --link --variable BRANCH_LIVE_KEY=key_live_fnmRM1FXtu11t6e4LU8WsldpvDcA0bzv --variable URI_SCHEME=testbed --variable ENCODED_ID=X9Ug
cordova plugin add https://github.com/nordnet/cordova-universal-links-plugin.git

0 comments on commit 09b1f2d

Please sign in to comment.