Skip to content

Commit

Permalink
Release 2.30.0 with iOS SDK 1.25.5 and Android SDK 1.11.15
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysharm committed Sep 2, 2020
1 parent 0ddbc14 commit 07375d2
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 2 deletions.
Binary file added android/lib/testfairy-sdk.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion android/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 2.15.0
version:2.30.0
apiversion: 4
architectures: arm64-v8a armeabi-v7a x86
description: This is the official TestFairy Titanium Module for Android, providing support for the TestFairy SDK.
Expand Down
45 changes: 45 additions & 0 deletions ios/TestFairySDK/TestFairy.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,19 @@
*/
+ (void)installCrashHandler:(NSString *)appToken;

/**
* Initialize the TestFairy SDK with shake for feedback enabled. No sessions will be recorded.
*/
+ (void)installFeedbackHandler:(NSString *)appToken;

/**
* Initialize the TestFairy SDK with shake for feedback enabled. No sessions will be recorded.
* Enables the ability to present the feedback form
* based on the method given. Valid values include
* "shake", "screenshot" or "shake|screenshot".
*/
+ (void)installFeedbackHandler:(NSString *)appToken method:(NSString *)method;

/**
* Change the server endpoint for use with on-premise hosting. Please
* contact support or sales for more information. Must be called before begin
Expand Down Expand Up @@ -429,6 +442,25 @@
*/
+ (void)setFeedbackEmailVisible:(BOOL)visible;

/**
* Customize the feedback form
*
* Accepted dictionary values: @{
* @"defaultText": <Default feedback text>,
* @"isEmailMandatory": @NO|@YES,
* @"isEmailVisible": @NO|@YES
* }
*
* defaultText: By setting a default text, you will override the initial content of the text area
* inside the feedback form. This way, you can standardize the way you receive feedbacks
* by specifying guidelines to your users.
*
* isEmailMandatory: Determines whether the user has to add his email address to the feedback. Default is true
*
* isEmailVisible: Determines whether the email field is displayed in the feedback form. Default is true
*/
+ (void)setFeedbackOptions:(NSDictionary *)options;

/**
* Query the distribution status of this build. Distribution is not required
* for working with the TestFairy SDK, meaning, you can use the SDK with the App Store.
Expand Down Expand Up @@ -479,6 +511,19 @@
requestSize:(long)requestSize
responseSize:(long)responseSize
errorMessage:(NSString*)error;
+ (void)addNetwork:(NSURL *)url
method:(NSString *)method
code:(int)code
startTimeInMillis:(long)startTime
endTimeInMillis:(long)endTime
requestSize:(long)requestSize
responseSize:(long)responseSize
errorMessage:(NSString*)error
requestHeaders:(NSString*)requestHeaders
requestBody:(NSData *)requestBody
responseHeaders:(NSString *)responseHeaders
responseBody:(NSData*)responseBody;

/**
* Send an NSError to TestFairy.
* Note, this function is limited to 5 errors.
Expand Down
Binary file modified ios/TestFairySDK/libTestFairy.a
Binary file not shown.
2 changes: 1 addition & 1 deletion ios/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# this is your module manifest and used by Titanium
# during compilation, packaging, distribution, etc.
#
version: 2.14.0
version:2.30.0
apiversion: 2
architectures: armv7 arm64 i386 x86_64
description: This is the official TestFairy Titanium Module for iOS, providing support for the TestFairy SDK.
Expand Down

0 comments on commit 07375d2

Please sign in to comment.