Skip to content

Commit 3354233

Browse files
authored
🤝 Merge pull request #73 from Instabug/hotfix/fix_crash_for_ios_8
Hotfix/fix crash for ios 8
2 parents aba6dbd + f996cc8 commit 3354233

25 files changed

+115
-76
lines changed

android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ android {
2121

2222
dependencies {
2323
compile 'com.facebook.react:react-native:0.20.+'
24-
compile 'com.instabug.library:instabug:4.2.10'
24+
compile 'com.instabug.library:instabug:4.2.11'
2525

2626
}
27-

ios/Instabug.framework/Headers/IBGTypes.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,3 +257,16 @@ typedef NS_ENUM(NSInteger, IBGPromptOption) {
257257
IBGPromptOptionBug,
258258
IBGPromptOptionFeedback
259259
};
260+
261+
/**
262+
The Conosle Log Level.
263+
*/
264+
typedef NS_ENUM(NSInteger, IBGLogLevel) {
265+
IBGLogLevelDefault,
266+
IBGLogLevelTrace,
267+
IBGLogLevelInfo,
268+
IBGLogLevelWarning,
269+
IBGLogLevelError,
270+
IBGLogLevelFatal
271+
};
272+

ios/Instabug.framework/Headers/Instabug.h

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
Copyright: (c) 2013-2017 by Instabug, Inc., all rights reserved.
77
8-
Version: 7.3.7
8+
Version: 7.3.8
99
*/
1010

1111
#import <Foundation/Foundation.h>
@@ -865,12 +865,23 @@ OBJC_EXTERN void IBGLogError(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2);
865865
/**
866866
@brief Used to reroute all your NSLogs to Instabug to be able to automatically include them with reports.
867867
868-
@discussion For details on how to reroute your NSLogs to Instabug, see http://docs.instabug.com/docs/logging
868+
@discussion For details on how to reroute your NSLogs to Instabug, see https://docs.instabug.com/docs/ios-logging
869869
870870
@param format Format string.
871871
@param args Arguments list.
872872
*/
873-
OBJC_EXTERN void IBGNSLog(NSString *format, va_list args);
873+
OBJC_EXTERN void IBGNSLog(NSString *format, va_list args) DEPRECATED_MSG_ATTRIBUTE("Use IBGNSLogWithLevel instead");
874+
875+
/**
876+
@brief Used to reroute all your NSLogs to Instabug with their log level to be able to automatically include them with reports.
877+
878+
@discussion For details on how to reroute your NSLogs to Instabug, see https://docs.instabug.com/docs/ios-logging
879+
880+
@param format Format string.
881+
@param args Arguments list.
882+
@param logLevel log level.
883+
*/
884+
OBJC_EXTERN void IBGNSLogWithLevel(NSString *format, va_list args, IBGLogLevel logLevel);
874885

875886
/**
876887
@brief Adds custom logs that will be sent with each report. Logs are added with the debug log level.

ios/Instabug.framework/Info.plist

0 Bytes
Binary file not shown.

ios/Instabug.framework/Instabug

82.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)