Skip to content

Commit 6a0a189

Browse files
Merge pull request #747 from BranchMetrics/gdeluna-branch/SDK-1662
Fix setIdentityAsync parameter
2 parents 562783c + e815cad commit 6a0a189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/io/branch/rnbranch/RNBranchModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ public void setIdentity(String identity) {
446446
}
447447

448448
@ReactMethod
449-
public void setIdentityAsync(String identity, Promise promise) {
449+
public void setIdentityAsync(String identity, final Promise promise) {
450450
Branch branch = Branch.getInstance();
451451
branch.setIdentity(identity, new Branch.BranchReferralInitListener() {
452452
@Override

0 commit comments

Comments
 (0)