Skip to content

Commit

Permalink
Merge pull request #113 from BranchMetrics/support-for-legacy-sharesh…
Browse files Browse the repository at this point in the history
…eets

Support for legacy share sheets
  • Loading branch information
aaustin committed Apr 19, 2016
2 parents 9e709ca + f4cebdd commit 2ca9ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/android/io/branch/BranchSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ public void run() {
} else if (this.action.equals("registerView")) {
registerView(this.args.getInt(0), this.callbackContext);
} else if (this.action.equals("showShareSheet")) {
showShareSheet(this.args.getInt(0), this.args.getJSONObject(1), this.args.getJSONObject(2), this.args.getString(3));
showShareSheet(this.args.getInt(0), this.args.getJSONObject(1), this.args.getJSONObject(2), this.args.getString(3) != null ? this.args.getString(3) : "This stuff is awesome: ");
}
}
} catch (JSONException e) {
Expand Down

0 comments on commit 2ca9ec3

Please sign in to comment.