mirror of
https://github.com/status-im/react-native-testfairy.git
synced 2025-02-22 15:18:05 +00:00
Updated 2.7.0 to iOS SDK 1.12.2 and Android SDK 1.6.1
This commit is contained in:
parent
8bb62753ee
commit
4d3f556878
@ -20,5 +20,5 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.facebook.react:react-native:0.20.1'
|
compile 'com.facebook.react:react-native:0.20.1'
|
||||||
compile 'testfairy:testfairy-android-sdk:1.5.7'
|
compile 'testfairy:testfairy-android-sdk:1.6.1'
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
*
|
*
|
||||||
* @param appToken Your key as given to you in your TestFairy account
|
* @param appToken Your key as given to you in your TestFairy account
|
||||||
* @param options A dictionary of options controlling the current session
|
* @param options A dictionary of options controlling the current session
|
||||||
|
* Options include
|
||||||
|
* - metrics: comma separated string of default metric options such as
|
||||||
|
* "cpu,memory,network-requests,shake,video,logs"
|
||||||
|
* - enableCrashReporter: @YES / @NO to enable crash handling. Default is @YES
|
||||||
*/
|
*/
|
||||||
+ (void)begin:(NSString *)appToken withOptions:(NSDictionary *)options;
|
+ (void)begin:(NSString *)appToken withOptions:(NSDictionary *)options;
|
||||||
|
|
||||||
@ -169,7 +173,7 @@
|
|||||||
/**
|
/**
|
||||||
* Records a session level attribute which can be looked up via web dashboard.
|
* Records a session level attribute which can be looked up via web dashboard.
|
||||||
*
|
*
|
||||||
* @param name The name of the attribute. Cannot be nil.
|
* @param key The name of the attribute. Cannot be nil.
|
||||||
* @param value The value associated with the attribute. Cannot be nil.
|
* @param value The value associated with the attribute. Cannot be nil.
|
||||||
* @return YES if successfully set attribute value, NO if failed with error in log.
|
* @return YES if successfully set attribute value, NO if failed with error in log.
|
||||||
*
|
*
|
||||||
@ -192,6 +196,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
+ (void)log:(NSString *)message;
|
+ (void)log:(NSString *)message;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Attach a file to the session. A maximum of 5 files may be attached. Each file cannot be more
|
||||||
|
* than 15 mb in size. In order to see if the file successfully uploads or fails, please view
|
||||||
|
* the logs.
|
||||||
|
*
|
||||||
|
* @param file path to file on disk.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
+ (void)attachFile:(NSURL *)file;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
#if __cplusplus
|
#if __cplusplus
|
||||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-native-testfairy",
|
"name": "react-native-testfairy",
|
||||||
"version": "2.6.0",
|
"version": "2.7.0",
|
||||||
"description": "TestFairy for React Native",
|
"description": "TestFairy for React Native",
|
||||||
"author": "Gil Megidish",
|
"author": "Gil Megidish",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user