Skip to content

Commit

Permalink
Release 2.38.0 with iOS SDK 1.26.9 and Android SDK 1.11.34
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysharm committed Dec 30, 2020
1 parent 07375d2 commit 0111e59
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ install:
- appc ti config android.sdkPath $ANDROID_HOME
- appc ti config android.ndkPath ${PWD}/android-ndk-r17c
script:
- ANDROID_SDK_VERSION=1.11.0
- IOS_VERSION=1.24.3
- ANDROID_SDK_VERSION=1.11.34
- IOS_VERSION=1.26.9
- TITANIUM_VERSION=${TRAVIS_TAG:-2.26.0}
- echo "Creating ti.testfairy version ${TITANIUM_VERSION}"
- 'sed -i "" "s/^version:.*/version: ${TITANIUM_VERSION}/g" android/manifest'
Expand Down
Binary file modified 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.30.0
version:2.38.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
38 changes: 33 additions & 5 deletions ios/TestFairySDK/TestFairy.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,16 @@
*/
+ (void)addEvent:(NSString *)name;

/**
* Adds a new user interaction to the timeline. Can be used by non-native UI frameworks to report
* user interactions such as clicks, long-clicks and double clicks.
*
* @param kind Kind of interaction to add [button pressed = 1, button long pressed = 8, button double tapped = 9]
* @param label Text content of the clicked view
* @param info (Optional) Extra meta data, accepted keys are "accessibilityLabel", "accessibilityIdentifier", "accessibilityHint" and "className"
*/
+ (void)addUserInteraction:(int)kind label:(NSString *)label info:(NSDictionary *)info;

/**
* Sets a correlation identifier for this session. This value can
* be looked up via web dashboard. For example, setting correlation
Expand Down Expand Up @@ -279,11 +289,15 @@
+ (NSString *)sessionUrl;

/**
* Takes a screenshot.
*
* Takes a screenshot and sends it to TestFairy
*/
+ (void)takeScreenshot;

/**
* Takes a screenshot. Can return nil.
*/
+ (void)takeScreenshot:(void(^)(UIImage *))callback;

/**
* Adds a screenshot to the current moment in session.
* Overrides the current screen recording system
Expand Down Expand Up @@ -392,7 +406,13 @@
* Values for fps must be between 0.1 and 2.0. Value will be rounded to
* the nearest frame.
*/
+ (void)enableVideo:(NSString *)policy quality:(NSString *)quality framesPerSecond:(float)fps;
+ (void)enableVideo:(NSString *)policy quality:(NSString *)quality framesPerSecond:(float)fps TF_DEPRECATED("Please refer to enableVideo:");

/**
* Enables the ability to capture video recording regardless of build settings.
* Valid values for policy include "always" and "wifi"
*/
+ (void)enableVideo:(NSString *)policy;

/**
* Disables the ability to capture video recording. Must be
Expand Down Expand Up @@ -446,7 +466,7 @@
* Customize the feedback form
*
* Accepted dictionary values: @{
* @"defaultText": <Default feedback text>,
* @"defaultText": @"Default feedback text",
* @"isEmailMandatory": @NO|@YES,
* @"isEmailVisible": @NO|@YES
* }
Expand Down Expand Up @@ -500,9 +520,13 @@
+ (void)setSessionStateDelegate:(id<TestFairySessionStateDelegate>)delegate;

/**
* Call this function to log your network events.
* Log network calls to TestFairy.
*/
+ (void)addNetwork:(NSURLSessionTask *)task error:(NSError *)error;

/**
* Log network calls to TestFairy
*/
+ (void)addNetwork:(NSURL *)url
method:(NSString *)method
code:(int)code
Expand All @@ -511,6 +535,10 @@
requestSize:(long)requestSize
responseSize:(long)responseSize
errorMessage:(NSString*)error;

/**
* Log network calls to TestFairy, include request and response payloads.
*/
+ (void)addNetwork:(NSURL *)url
method:(NSString *)method
code:(int)code
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.30.0
version:2.38.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 0111e59

Please sign in to comment.