diff --git a/android/build.gradle b/android/build.gradle index 13e92cd..ed3d837 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -20,5 +20,5 @@ android { dependencies { compile 'com.facebook.react:react-native:0.20.1' - compile 'testfairy:testfairy-android-sdk:1.4.5' + compile 'testfairy:testfairy-android-sdk:1.4.13' } diff --git a/ios/TestFairy.h b/ios/TestFairy.h index 35f9f1c..a2c9687 100644 --- a/ios/TestFairy.h +++ b/ios/TestFairy.h @@ -153,6 +153,16 @@ * @param name logic name of current screen */ + (void)setScreenName:(NSString *)name; + +/** + * Stops the current session recording. Unlike 'pause', when + * calling 'resume', a new session will be created and will be + * linked to the previous recording. Useful if you want short + * session recordings of specific use-cases of the app. Hidden + * views and user identity will be applied to the new session + * as well, if started. + */ ++ (void)stop; @end #if __cplusplus diff --git a/ios/libTestFairy.a b/ios/libTestFairy.a index 4f8d904..77b9bed 100644 Binary files a/ios/libTestFairy.a and b/ios/libTestFairy.a differ diff --git a/package.json b/package.json index 361dd7f..b81885b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-testfairy", - "version": "2.1.1", + "version": "2.1.2", "description": "TestFairy for React Native", "author": "Gil Megidish", "main": "./index.js",