Skip to content

Commit

Permalink
getter for carrotID 2.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
manzick committed Aug 6, 2024
1 parent d214925 commit b4dc776
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Binary file modified CarrotSDK.xcframework.zip
Binary file not shown.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau
Carrot.shared.auth(
withUserId: userId,
withUserAuthKey: userAuthKey,
successHandler: {
print("Carrotquest SDK user auth successed")
successHandler: { carrotId in
print("Carrotquest SDK user auth successed, CarrotId = \(carrotId)")
},
errorHandler: { error in
print("Carrotquest SDK user auth error: " + error)
Expand All @@ -94,8 +94,8 @@ Carrot.shared.auth(
Carrot.shared.hashedAuth(
withUserId: userId,
withHash: hash,
successHandler: {
print("Carrotquest SDK user auth successed")
successHandler: { carrotId in
print("Carrotquest SDK user auth successed, CarrotId = \(carrotId)")
},
errorHandler: { error in
print("Carrotquest SDK user auth error: " + error)
Expand Down Expand Up @@ -293,8 +293,8 @@ Carrot *carrot = [Carrot shared];
carrot
authWithUserId: userId
withUserAuthKey: userAuthKey
successHandler: ^(){
NSLog(@"Carrotquest SDK user auth successed");
successHandler: ^(NSString *carrotId){
NSLog(@"Carrotquest SDK user auth successed, CarrotId: %@", carrotId);
}
errorHandler: ^(NSString *error){
NSLog(@"Carrotquest SDK user auth error: %@", error);
Expand All @@ -309,8 +309,8 @@ Carrot *carrot = [Carrot shared];
carrot
authWithUserId: userId
withHash: hash
successHandler: ^(){
NSLog(@"Carrotquest SDK user auth successed");
successHandler: ^(NSString *carrotId){
NSLog(@"Carrotquest SDK user auth successed, CarrotId: %@", carrotId);
}
errorHandler: ^(NSString *error){
NSLog(@"Carrotquest SDK user auth error: %@", error);
Expand Down

0 comments on commit b4dc776

Please sign in to comment.