Skip to content

Commit b30ddb2

Browse files
SalmaAliSalmaAli
authored andcommitted
⬆️ update ios sdk to version 8.0.2
1 parent 872f545 commit b30ddb2

28 files changed

+122
-154
lines changed

ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,12 @@ NS_SWIFT_NAME(BugReporting)
111111
*/
112112
@property(class, atomic, assign) IBGExtendedBugReportMode extendedBugReportMode;
113113

114-
@property(class, atomic, assign) IBGBugReportingInvocationOption invocationOptions;
115-
116114
/**
117-
@brief Sets the welcome message mode to live, beta or disabled.
118-
119-
@discussion By default, the welcome message live mode is enabled. It appears automatically after 10 seconds from the user's first session. You can change it to the beta mode or disable it.
120-
The live mode consists of one step to inform the users how to report a bug or feedback. The beta mode consists of three steps to welcome your testers on board, inform them how to report a bug or feedback and to motivate them to always be on the latest app version. Please note, the into message appears only if the invocation event isn't set to none.
115+
@brief Use to specify different options that would affect how Instabug is shown and other aspects about the reporting experience.
116+
117+
@discussion See IBGInvocationOptions.
121118
*/
122-
@property (class, atomic, assign) IBGWelcomeMessageMode welcomeMessageMode;
119+
@property(class, atomic, assign) IBGBugReportingInvocationOption invocationOptions;
123120

124121
/**
125122
@brief Invokes the SDK manually with the default invocation mode.
@@ -143,15 +140,5 @@ NS_SWIFT_NAME(BugReporting)
143140
*/
144141
+ (void)dismiss;
145142

146-
/**
147-
@brief Shows the welcome message in a specific mode.
148-
149-
@discussion By default, the welcome message live mode is enabled. It appears automatically after 10 seconds from the user's first session. You can show it manually in a specific mode through this API.
150-
The live mode consists of one step to inform the users how to report a bug or feedback. The beta mode consists of three steps to welcome your testers on board, inform them how to report a bug or feedback and to motivate them to always be on the latest app version. Please note, the into message appears only if the invocation event isn't set to none.
151-
152-
@param welcomeMessageMode An enum to set the welcome message mode to live, beta or disabled.
153-
*/
154-
+ (void)showWelcomeMessageWithMode:(IBGWelcomeMessageMode)welcomeMessageMode;
155-
156143

157144
@end

ios/Instabug.framework/Headers/Instabug.h

Lines changed: 48 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.0.1
8+
Version: 8.0.2
99
*/
1010

1111
#import <Foundation/Foundation.h>
@@ -124,8 +124,40 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
124124
*/
125125
@property (class, atomic, assign) IBGUserStepsMode reproStepsMode;
126126

127+
128+
/**
129+
@brief Sets the welcome message mode to live, beta or disabled.
130+
131+
@discussion By default, the welcome message live mode is enabled. It appears automatically after 10 seconds from the user's first session. You can change it to the beta mode or disable it.
132+
The live mode consists of one step to inform the users how to report a bug or feedback. The beta mode consists of three steps to welcome your testers on board, inform them how to report a bug or feedback and to motivate them to always be on the latest app version. Please note, the into message appears only if the invocation event isn't set to none.
133+
*/
134+
@property (class, atomic, assign) IBGWelcomeMessageMode welcomeMessageMode;
135+
136+
/**
137+
@brief Attaches user data to each report being sent.
138+
139+
@discussion Each call to this method overrides the user data to be attached.
140+
Maximum size of the string is 1,000 characters.
141+
*/
142+
@property (class, atomic, strong) NSString *userData;
143+
127144
+ (void)startWithToken:(NSString *)token invocationEvents:(IBGInvocationEvent)invocationEvents;
128145

146+
#pragma mark - SDK Debugging
147+
148+
/// ------------------------
149+
/// @name SDK Debugging
150+
/// ------------------------
151+
152+
/**
153+
@brief Sets the verbosity level of logs used to debug the Instabug SDK itself.
154+
155+
@discussion This API sets the verbosity level of logs used to debug The SDK. The defualt value in debug mode is IBGSDKDebugLogsLevelVerbose and in production is IBGSDKDebugLogsLevelError.
156+
*/
157+
@property (class, atomic, assign) IBGSDKDebugLogsLevel SDKDebugLogsLevel;
158+
159+
#pragma mark - Old APIs
160+
129161
/// ------------------------
130162
/// @name SDK Initialization
131163
/// ------------------------
@@ -242,16 +274,6 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
242274
*/
243275
+ (void)clearFileAttachments;
244276

245-
/**
246-
@brief Attaches user data to each report being sent.
247-
248-
@discussion Each call to this method overrides the user data to be attached.
249-
Maximum size of the string is 1,000 characters.
250-
251-
@param userData A string to be attached to each report, with a maximum size of 1,000 characters.
252-
*/
253-
+ (void)setUserData:(NSString *)userData DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
254-
255277
/**
256278
@brief Sets whether the SDK is tracking user steps or not.
257279
@@ -264,22 +286,6 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
264286
*/
265287
+ (void)setUserStepsEnabled:(BOOL)isUserStepsEnabled DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
266288

267-
/**
268-
@brief Sets whether the session profiler is enabled or disabled.
269-
270-
@discussion The session profiler is enabled by default and it attaches to the bug and crash reports the following information during the last 60 seconds before the report is sent.
271-
1. CPU load.
272-
2. Dispatch queues latency.
273-
3. Memory usage.
274-
4. Storage usage.
275-
5. Connectivity.
276-
6. Battery percentage and state.
277-
7. Orientation.
278-
279-
@param sessionProfilerEnabled A boolean parameter to enable or disable the feature.
280-
*/
281-
+ (void)setSessionProfilerEnabled:(BOOL)sessionProfilerEnabled DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
282-
283289
/**
284290
@brief Sets whether to track and report crashes or not.
285291
@@ -411,17 +417,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
411417
412418
@param welcomeMessageMode An enum to set the welcome message mode to live, beta or disabled.
413419
*/
414-
+ (void)showWelcomeMessageWithMode:(IBGWelcomeMessageMode)welcomeMessageMode DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
415-
416-
/**
417-
@brief Sets the welcome message mode to live, beta or disabled.
418-
419-
@discussion By default, the welcome message live mode is enabled. It appears automatically after 10 seconds from the user's first session. You can change it to the beta mode or disable it.
420-
The live mode consists of one step to inform the users how to report a bug or feedback. The beta mode consists of three steps to welcome your testers on board, inform them how to report a bug or feedback and to motivate them to always be on the latest app version. Please note, the into message appears only if the invocation event isn't set to none.
421-
422-
@param welcomeMessageMode An enum to set the welcome message mode to live, beta or disabled.
423-
*/
424-
+ (void)setWelcomeMessageMode:(IBGWelcomeMessageMode)welcomeMessageMode DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
420+
+ (void)showWelcomeMessageWithMode:(IBGWelcomeMessageMode)welcomeMessageMode;
425421

426422
/**
427423
@brief Enables/disables the attachment of an initial screenshot when reporting a bug/improvement.
@@ -439,7 +435,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
439435
@param email Email address to be set as the user's email.
440436
@param name Name of the user to be set.
441437
*/
442-
+ (void)identifyUserWithEmail:(NSString *)email name:(nullable NSString *)name DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
438+
+ (void)identifyUserWithEmail:(NSString *)email name:(nullable NSString *)name;
443439

444440
/**
445441
@brief Resets the value of the user's email and name, previously set using `+ [Instabug identifyUserWithEmail:name:]`.
@@ -612,7 +608,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
612608
613609
@see IBGLocale
614610
*/
615-
+ (void)setLocale:(IBGLocale)locale DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
611+
+ (void)setLocale:(IBGLocale)locale;
616612

617613
/**
618614
@brief Sets whether the intro message that gets shown on launching the app is enabled or not.
@@ -668,7 +664,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
668664
669665
@param screenshotCapturingHandler A block of code that's going to be used to capture screenshots.
670666
*/
671-
+ (void)setScreenshotCapturingHandler:(UIImage *(^)(void))screenshotCapturingHandler DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
667+
+ (void)setScreenshotCapturingHandler:(UIImage *(^)(void))screenshotCapturingHandler;
672668

673669
/**
674670
@brief Appends a set of tags to previously added tags of reported feedback, bug or crash.
@@ -706,19 +702,19 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
706702
707703
@param tags An array of tags to append to current tags.
708704
*/
709-
+ (void)appendTags:(NSArray<NSString *> *)tags DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
705+
+ (void)appendTags:(NSArray<NSString *> *)tags;
710706

711707
/**
712708
@brief Manually removes all tags of reported feedback, bug or crash.
713709
*/
714-
+ (void)resetTags DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
710+
+ (void)resetTags;
715711

716712
/**
717713
@brief Gets all tags of reported feedback, bug or crash.
718714
719715
@return An array of tags.
720716
*/
721-
+ (NSArray *)getTags DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
717+
+ (NSArray *)getTags;
722718

723719
/**
724720
@brief Overrides any of the strings shown in the SDK with custom ones.
@@ -745,7 +741,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
745741
746742
@see IBGTypes
747743
*/
748-
+ (void)setValue:(NSString *)value forStringWithKey:(NSString *)key DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
744+
+ (void)setValue:(NSString *)value forStringWithKey:(NSString *)key;
749745

750746
/**
751747
@brief Sets whether attachments in bug reporting and in-app messaging are enabled or not.
@@ -845,7 +841,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
845841
@param value User attribute value.
846842
@param key User attribute key.
847843
*/
848-
+ (void)setUserAttribute:(NSString *)value withKey:(NSString *)key DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
844+
+ (void)setUserAttribute:(NSString *)value withKey:(NSString *)key;
849845

850846
/**
851847
@brief Returns the user attribute associated with a given key.
@@ -854,7 +850,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
854850
855851
@return The value associated with aKey, or nil if no value is associated with aKey.
856852
*/
857-
+ (nullable NSString *)userAttributeForKey:(NSString *)key DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
853+
+ (nullable NSString *)userAttributeForKey:(NSString *)key;
858854

859855
/**
860856
@brief Removes a given key and its associated value from user attributes.
@@ -863,14 +859,14 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
863859
864860
@param key The key to remove.
865861
*/
866-
+ (void)removeUserAttributeForKey:(NSString *)key DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
862+
+ (void)removeUserAttributeForKey:(NSString *)key;
867863

868864
/**
869865
@brief Returns all user attributes.
870866
871867
@return A new dictionary containing all the currently set user attributes, or an empty dictionary if no user attributes have been set.
872868
*/
873-
+ (nullable NSDictionary *)userAttributes DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
869+
+ (nullable NSDictionary *)userAttributes;
874870

875871
/**
876872
@brief Enables/disables inspect view hierarchy when reporting a bug/feedback.
@@ -943,7 +939,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
943939
944940
@param deviceToken Device token received in `-[UIApplicationDelegate didRegisterForRemoteNotificationsWithDeviceToken:]`
945941
*/
946-
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
942+
+ (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken;
947943

948944
/**
949945
@brief Call this method and pass the notification's userInfo dictionary to allow Instabug to handle its remote notifications.
@@ -957,7 +953,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
957953
`[launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey]` from
958954
`-[UIApplicationDelegate application:didFinishLaunchingWithOptions:]`.
959955
*/
960-
+ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
956+
+ (BOOL)didReceiveRemoteNotification:(NSDictionary *)userInfo;
961957

962958
/**
963959
@brief Logs a user event that happens through the lifecycle of the application.
@@ -966,7 +962,7 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
966962
967963
@param name Event name.
968964
*/
969-
+ (void)logUserEventWithName:(NSString *)name DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
965+
+ (void)logUserEventWithName:(NSString *)name;
970966

971967
/**
972968
@brief Logs a user event that happens through the lifecycle of the application.
@@ -1296,21 +1292,6 @@ typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *r
12961292
*/
12971293
+ (void)showFeatureRequests DEPRECATED_MSG_ATTRIBUTE("This API has been deprecated. See https://docs.instabug.com/v1.0/docs/ios-migration-guide for instructions on migrating to SDK v8.x APIs.");
12981294

1299-
#pragma mark - SDK Debugging
1300-
1301-
/// ------------------------
1302-
/// @name SDK Debugging
1303-
/// ------------------------
1304-
1305-
/**
1306-
@brief Sets the verbosity level of logs used to debug the Instabug SDK itself.
1307-
1308-
@discussion This API sets the verbosity level of logs used to debug The SDK. The defualt value in debug mode is IBGSDKDebugLogsLevelVerbose and in production is IBGSDKDebugLogsLevelError.
1309-
1310-
@param level Logs verbosity level.
1311-
*/
1312-
+ (void)setSDKDebugLogsLevel:(IBGSDKDebugLogsLevel)level;
1313-
13141295
@end
13151296

13161297

ios/Instabug.framework/Info.plist

35 Bytes
Binary file not shown.

ios/Instabug.framework/Instabug

-16.2 KB
Binary file not shown.

ios/Instabug.framework/_CodeSignature/CodeResources

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<dict>
77
<key>Headers/IBGBugReporting.h</key>
88
<data>
9-
usRBB/zx2wJWqJIa94BrotQrVRg=
9+
hkW+zJJsTEIuI83iyxEliITjaI4=
1010
</data>
1111
<key>Headers/IBGCrashReporting.h</key>
1212
<data>
@@ -30,11 +30,11 @@
3030
</data>
3131
<key>Headers/Instabug.h</key>
3232
<data>
33-
SWLPAXjk63ru/67E21Yfpp0bEwA=
33+
sepwzdEifs9Ddm1FiudYWFolrvo=
3434
</data>
3535
<key>Info.plist</key>
3636
<data>
37-
fw79lg+a96vgVfrCSCmIot8roHA=
37+
m5cMWHqfcC+/uQOYadUc2MkNcVY=
3838
</data>
3939
<key>Modules/module.modulemap</key>
4040
<data>
@@ -47,11 +47,11 @@
4747
<dict>
4848
<key>hash</key>
4949
<data>
50-
usRBB/zx2wJWqJIa94BrotQrVRg=
50+
hkW+zJJsTEIuI83iyxEliITjaI4=
5151
</data>
5252
<key>hash2</key>
5353
<data>
54-
1677Dd3gi2ma40I2DXTxLossTbgXP0pFJq0wOOr8nCM=
54+
cDXE2vpwnAVAENM3At2M7ImV7wqYKduxznWmWjvLYcY=
5555
</data>
5656
</dict>
5757
<key>Headers/IBGCrashReporting.h</key>
@@ -113,11 +113,11 @@
113113
<dict>
114114
<key>hash</key>
115115
<data>
116-
SWLPAXjk63ru/67E21Yfpp0bEwA=
116+
sepwzdEifs9Ddm1FiudYWFolrvo=
117117
</data>
118118
<key>hash2</key>
119119
<data>
120-
xRFTD5wgNtqNfC5UBeQeWlRY3577SbWBh+YDyrzX7ow=
120+
1MNZcuO9wLxiZsIm6WWpSPZeX75HvtkYpSRYp3I9HQ8=
121121
</data>
122122
</dict>
123123
<key>Modules/module.modulemap</key>

ios/InstabugCore.framework/Assets.car

0 Bytes
Binary file not shown.

ios/InstabugCore.framework/Headers/IBGTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.0.1
8+
Version: 8.0.2
99
*/
1010

1111
#import <UIKit/UIKit.h>

ios/InstabugCore.framework/Headers/InstabugCore.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2018 by Instabug, Inc., all rights reserved.
77
8-
Version: 8.0.1
8+
Version: 8.0.2
99
*/
1010

1111
#import <Foundation/Foundation.h>
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)