-
Notifications
You must be signed in to change notification settings - Fork 364
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
374 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
language: objective-c | ||
env: | ||
matrix: | ||
- TEST_SDK=macosx10.9 | ||
- TEST_SDK=macosx10.10 | ||
- TEST_SDK=iphonesimulator8.1 | ||
- TEST_SDK=iphonesimulator7.0 | ||
script: | ||
- xcodebuild clean -project TrustKit.xcodeproj -scheme TrustKit -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk $TEST_SDK | ||
- xcodebuild build test -project TrustKit.xcodeproj -scheme TrustKit -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk $TEST_SDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
TSKBackgroundReporter.h | ||
TrustKit | ||
Copyright 2015 The TrustKit Project Authors | ||
Licensed under the MIT license, see associated LICENSE file for terms. | ||
See AUTHORS file for the list of project authors. | ||
*/ | ||
|
||
#import <Foundation/Foundation.h> | ||
#import "TSKReporterDelegate.h" | ||
|
||
|
||
/** | ||
`TSKSimpleBackgroundReporter` is a class for uploading pin failure reports using the background transfer service. | ||
*/ | ||
@interface TSKBackgroundReporter : NSObject <TSKReporterDelegate, NSURLSessionTaskDelegate> | ||
|
||
///--------------------- | ||
/// @name Initialization | ||
///--------------------- | ||
|
||
/** | ||
Initializes a background reporter. | ||
@param shouldRateLimitReports Prevent identical pin failure reports from being sent more than once per day. | ||
@exception NSException Thrown when the App does not have a bundle ID, meaning we're running in unit tests where the background transfer service can't be used. | ||
*/ | ||
- (instancetype)initAndRateLimitReports:(BOOL)shouldRateLimitReports; | ||
@end | ||
|
Oops, something went wrong.