Skip to content

Commit ec5e4a1

Browse files
Update Instabug iOS SDK
1 parent 2bd9cde commit ec5e4a1

File tree

73 files changed

+294
-2001
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+294
-2001
lines changed
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
/*
2+
File: Instabug/IBGAPM.h
3+
4+
Contains: API for using Instabug's SDK.
5+
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
#import "IBGTypes.h"
13+
14+
@class IBGExecutionTrace;
15+
16+
NS_ASSUME_NONNULL_BEGIN
17+
18+
NS_SWIFT_NAME(APM)
19+
/// Instabug APM
20+
@interface IBGAPM : NSObject
21+
22+
/// Disables/Enables APM.
23+
///
24+
/// Defaults to true if APM is included in your Instabug account's plan.
25+
@property (class, atomic, assign) BOOL enabled;
26+
27+
/// Disables/Enables App Launch tracking.
28+
///
29+
/// Defaults to true if APM is enabled. If APM is disabled, App Launch time will not be captured.
30+
@property (class, atomic, assign) BOOL appLaunchEnabled;
31+
32+
/// Disables/Enables Automatic UI Traces.
33+
///
34+
/// Defaults to true if APM is enabled. If APM is disabled, no Automatic UI Traces will be captured.
35+
@property (class, atomic, assign) BOOL autoUITraceEnabled;
36+
37+
/// Creates and starts a new Execution Trace with the given name.
38+
///
39+
/// Creates and starts an Execution trace with the specified name, returns nil in case APM is disabled.
40+
///
41+
/// Multiple traces can start in parallel, including those with identical names.
42+
///
43+
/// If the Execution Trace is not ended, it will be discarded.
44+
///
45+
/// Execution Trace name cannot exceed 150 characters otherwise it's trimmed, leading and trailing whitespaces are also ignored.
46+
///
47+
/// This API is thread safe.
48+
///
49+
/// @param name Execution Trace name.
50+
+ (IBGExecutionTrace *_Nullable)startExecutionTraceWithName:(NSString *)name;
51+
52+
/// Starts a Custom UI Trace with the given name.
53+
///
54+
/// Starts a Custom UI Trace with the specified name. If APM is disabled, Custom UI Traces are not captured.
55+
///
56+
/// Custom UI Traces cannot run in parallel, one must be ended before the other is started.
57+
///
58+
/// Custom UI Trace name cannot exceed 150 characters otherwise it's trimmed, leading and trailing whitespaces are also ignored.
59+
///
60+
/// This API should be called from the main thread.
61+
///
62+
/// @param name Custom UI Trace name.
63+
+ (void)startUITraceWithName:(NSString *)name;
64+
65+
/// Ends the current running Custom UI Trace.
66+
+ (void)endUITrace;
67+
68+
/// Sets the printed logs priority. Filter to one of the following levels.
69+
///
70+
/// Sets the printed logs priority. Filter to one of the following levels:
71+
///
72+
/// - IBGLogLevelNone disables all APM SDK console logs.
73+
///
74+
/// - IBGLogLevelError prints errors only, we use this level to let you know if something goes wrong.
75+
///
76+
/// - IBGLogLevelWarning displays warnings that will not necessarily lead to errors but should be addressed nonetheless.
77+
///
78+
/// - IBGLogLevelInfo (default) logs information that we think is useful without being too verbose.
79+
///
80+
/// - IBGLogLevelDebug use this in case you are debugging an issue. Not recommended for production use.
81+
///
82+
/// - IBGLogLevelVerbose use this only if IBGLogLevelDEBUG was not enough and you need more visibility
83+
/// on what is going on under the hood.
84+
///
85+
/// Similar to the IBGLogLevelDebug level, this is not meant to be used on production environments.
86+
///
87+
/// Each log level will also include logs from all the levels above it. For instance,
88+
/// IBGLogLevelInfo will include IBGLogLevelInfo logs as well as IBGLogLevelWarning
89+
/// and IBGLogLevelError logs.
90+
@property (class, atomic, assign) IBGLogLevel logLevel;
91+
92+
@end
93+
94+
NS_ASSUME_NONNULL_END

ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGChats.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGCrashReporting.h

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,28 @@
55
66
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
77
8-
Version: 9.1.7
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>
1212

1313
NS_SWIFT_NAME(CrashReporting)
1414
@interface IBGCrashReporting : NSObject
1515

16+
/**
17+
@brief Enable/Disable crash reporting.
18+
19+
Crash reporting is enabled by default. If you need to disable it, you need to call. It's recommended to call it before startWithToken.
20+
*/
1621
@property (class, atomic, assign) BOOL enabled;
1722

23+
/**
24+
@brief Enable/Disable out of memory crash reporting.
25+
26+
Out of memory crash reporting is enabled by default. OOM will be disabled if crash reporting is disabled.
27+
*/
28+
@property (class, atomic, assign) BOOL OOMEnabled;
29+
1830
/**
1931
@brief Report an exception manually.
2032
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
File: Instabug/IBGExecutionTrace.h
3+
4+
Contains: API for using Instabug's SDK.
5+
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
9+
*/
10+
11+
#import <Foundation/Foundation.h>
12+
13+
NS_ASSUME_NONNULL_BEGIN
14+
15+
NS_SWIFT_NAME(ExecutionTrace)
16+
@interface IBGExecutionTrace : NSObject
17+
18+
/// Ends this instance of Execution Trace.
19+
- (void)end;
20+
21+
/// Sets custom attributes for this instance of ExecutionTrace.
22+
///
23+
/// Setting an attribute value to nil will remove its corresponding key if it already exists.
24+
///
25+
/// Attribute key name cannot exceed 30 characters. Leading and trailing whitespaces are also ignored. Does not accept empty strings or nil.
26+
///
27+
/// Attribute value name cannot exceed 60 characters, leading and trailing whitespaces are also ignored. Does not accept empty strings.
28+
///
29+
/// If the execution trace is ended, attributes will not be added and existing ones will not be updated.
30+
///
31+
/// @param key Execution Trace attribute key.
32+
/// @param value Execution Trace attribute value.
33+
- (void)setAttributeWithKey:(NSString *)key value:(NSString *_Nullable)value;
34+
35+
- (instancetype)init __attribute__((unavailable("Init not available, use +[IBGAPM startExecutionTraceWithName:] instead.")));
36+
37+
@end
38+
39+
NS_ASSUME_NONNULL_END

ios/Instabug.framework/Headers/IBGFeatureRequests.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111

ios/Instabug.framework/Headers/IBGLog.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>
12-
#import "InstabugCore.h"
1312

1413
@interface IBGLog : NSObject
1514

ios/Instabug.framework/Headers/IBGNetworkLogger.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGReplies.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Headers/IBGSurvey.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
44
Contains: API for using Instabug's SDK.
55
6-
Copyright: (c) 2013-2019 by Instabug, Inc., all rights reserved.
7-
8-
Version: 9.1.7
6+
Copyright: (c) 2013-2020 by Instabug, Inc., all rights reserved.
7+
8+
Version: 10.1.2
99
*/
1010

1111
#import <Foundation/Foundation.h>

0 commit comments

Comments
 (0)