diff --git a/src/android/io/branch/BranchSDK.java b/src/android/io/branch/BranchSDK.java
index <HASH>..<HASH> 100644
--- a/src/android/io/branch/BranchSDK.java
+++ b/src/android/io/branch/BranchSDK.java
@@ -1029,7 +1029,7 @@ public class BranchSDK extends CordovaPlugin {
 
             JSONObject response = new JSONObject();
 
-            if (error == null) {
+            if (error == null || url != null) {
 
                 try {
                     response.put("url", url);
fix: corrected android long url with no tracking