diff --git a/Plugins/Android/testfairy-android-sdk.aar b/Plugins/Android/testfairy-android-sdk.aar index 716e93a..9ad1e64 100644 Binary files a/Plugins/Android/testfairy-android-sdk.aar and b/Plugins/Android/testfairy-android-sdk.aar differ diff --git a/Plugins/iOS/TestFairy.framework.dSYM/Contents/Info.plist b/Plugins/iOS/TestFairy.framework.dSYM/Contents/Info.plist index a298578..6c259f2 100644 --- a/Plugins/iOS/TestFairy.framework.dSYM/Contents/Info.plist +++ b/Plugins/iOS/TestFairy.framework.dSYM/Contents/Info.plist @@ -13,7 +13,7 @@ CFBundleSignature ???? CFBundleShortVersionString - 1.26.0 + 1.26.1 CFBundleVersion 1 diff --git a/Plugins/iOS/TestFairy.framework.dSYM/Contents/Resources/DWARF/TestFairy b/Plugins/iOS/TestFairy.framework.dSYM/Contents/Resources/DWARF/TestFairy index e53e24f..5824e4a 100644 Binary files a/Plugins/iOS/TestFairy.framework.dSYM/Contents/Resources/DWARF/TestFairy and b/Plugins/iOS/TestFairy.framework.dSYM/Contents/Resources/DWARF/TestFairy differ diff --git a/Plugins/iOS/TestFairy.framework/Headers/TestFairy.h b/Plugins/iOS/TestFairy.framework/Headers/TestFairy.h index 89baee8..ed29d1e 100644 --- a/Plugins/iOS/TestFairy.framework/Headers/TestFairy.h +++ b/Plugins/iOS/TestFairy.framework/Headers/TestFairy.h @@ -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 @@ -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 diff --git a/Plugins/iOS/TestFairy.framework/Info.plist b/Plugins/iOS/TestFairy.framework/Info.plist index 5058e56..f1b2ca6 100644 Binary files a/Plugins/iOS/TestFairy.framework/Info.plist and b/Plugins/iOS/TestFairy.framework/Info.plist differ diff --git a/Plugins/iOS/TestFairy.framework/TestFairy b/Plugins/iOS/TestFairy.framework/TestFairy index f3b5084..02b482c 100755 Binary files a/Plugins/iOS/TestFairy.framework/TestFairy and b/Plugins/iOS/TestFairy.framework/TestFairy differ