Skip to content

Commit

Permalink
[FIX] Invalid data type being retrieved for setContentType.
Browse files Browse the repository at this point in the history
  • Loading branch information
Renemari Padillo committed Jul 1, 2016
1 parent dd32784 commit 60a4590
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 @@ -373,7 +373,7 @@ private void createBranchUniversalObject(JSONObject options, CallbackContext cal
branchObj.setContentImageUrl(options.getString("contentImageUrl"));
}
if (options.has("contentType")) {
branchObj.setContentType(options.getInt("contentType"));
branchObj.setContentType(options.getString("contentType"));
}

// Set content visibility
Expand Down

0 comments on commit 60a4590

Please sign in to comment.