Skip to content

Commit

Permalink
Merge branch 'theo/sdk_type_option' into 'master'
Browse files Browse the repository at this point in the history
TKRTankerOptions: expose sdkType

See merge request TankerHQ/sdk-ios!160
  • Loading branch information
theodelrieu committed Apr 21, 2021
2 parents ad39e30 + 36e04fa commit 1ed8eb7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
2 changes: 2 additions & 0 deletions Tanker/Headers/TKRTankerOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
*/
@property NSString* writablePath;

@property NSString* sdkType;

/*!
@brief Create and return an empty TKRTankerOptions.
*/
Expand Down
2 changes: 1 addition & 1 deletion Tanker/Sources/TKRTanker.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#import "TKREncryptionSession+Private.h"
#import "TKRInputStreamDataSource+Private.h"
#import "TKRTanker+Private.h"
#import "TKRTankerOptions+Private.h"
#import "TKRTankerOptions.h"
#import "TKRUtils+Private.h"
#import "TKRVerification+Private.h"
#import "TKRVerificationKey+Private.h"
Expand Down
21 changes: 0 additions & 21 deletions Tanker/Sources/TKRTankerOptions+Private.m

This file was deleted.

4 changes: 2 additions & 2 deletions Tanker/Tests/Tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#import "TKRError.h"
#import "TKRInputStreamDataSource+Private.h"
#import "TKRTanker.h"
#import "TKRTankerOptions+Private.h"
#import "TKRTankerOptions.h"
#import "TKRVerification.h"
#import "TKRVerificationKey.h"

Expand Down Expand Up @@ -100,7 +100,7 @@
opts.url = url;
opts.appID = appID;
opts.writablePath = createStorageFullpath();
opts.sdkType = @"test";
opts.sdkType = @"sdk-ios-tests";
return opts;
}

Expand Down

0 comments on commit 1ed8eb7

Please sign in to comment.