Skip to content

Commit

Permalink
Support for legacy share sheets
Browse files Browse the repository at this point in the history
@renesansz This will take care of the issue reported in
https://github.com/BranchMetrics/Cordova-Ionic-PhoneGap-Deferred-Deep-Li
nking-SDK/issues/112
  • Loading branch information
aaustin committed Apr 19, 2016
1 parent 79e2516 commit 3c86015
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 @@ -1228,7 +1228,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 3c86015

Please sign in to comment.