Skip to content

Commit

Permalink
fix: userCompletedAction works with no metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanneff committed Jan 9, 2017
1 parent 80e1e12 commit 459b7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ios/BranchSDK.m
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ - (void)userCompletedAction:(CDVInvokedUrlCommand*)command
state = [command.arguments objectAtIndex:1];
}
else {
name = (NSString *)command.arguments;
name = [command.arguments objectAtIndex:0];
}

Branch *branch = [self getInstance];
Expand Down

0 comments on commit 459b7f8

Please sign in to comment.