Skip to content

Commit

Permalink
Merge pull request #55 from BranchMetrics/fix/issue-52-deep-link-hand…
Browse files Browse the repository at this point in the history
…ler-differences

DeepLinkHandler now returns string instead of dictionary
  • Loading branch information
aaustin committed Mar 3, 2016
2 parents bffb150 + 13220cb commit 1985db2
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 @@ -98,7 +98,7 @@ - (void)initSession:(CDVInvokedUrlCommand*)command
resultString = [NSString stringWithFormat:@"Init Error: %@", [error localizedDescription]];
}
NSLog(@"returning data to js interface..");
[self.commandDelegate evalJs:[NSString stringWithFormat:@"DeepLinkHandler({data:'%@'})", resultString]];
[self.commandDelegate evalJs:[NSString stringWithFormat:@"DeepLinkHandler('%@')", resultString]];
}];
}

Expand Down

0 comments on commit 1985db2

Please sign in to comment.