Skip to content

Commit

Permalink
🤝 Merge pull request #73 from Instabug/hotfix/fix_crash_for_ios_8
Browse files Browse the repository at this point in the history
Hotfix/fix crash for ios 8
  • Loading branch information
salmatarzi authored Sep 20, 2017
2 parents aba6dbd + f996cc8 commit 3354233
Show file tree
Hide file tree
Showing 25 changed files with 115 additions and 76 deletions.
3 changes: 1 addition & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ android {

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

}

13 changes: 13 additions & 0 deletions ios/Instabug.framework/Headers/IBGTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,3 +257,16 @@ typedef NS_ENUM(NSInteger, IBGPromptOption) {
IBGPromptOptionBug,
IBGPromptOptionFeedback
};

/**
The Conosle Log Level.
*/
typedef NS_ENUM(NSInteger, IBGLogLevel) {
IBGLogLevelDefault,
IBGLogLevelTrace,
IBGLogLevelInfo,
IBGLogLevelWarning,
IBGLogLevelError,
IBGLogLevelFatal
};

17 changes: 14 additions & 3 deletions ios/Instabug.framework/Headers/Instabug.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Copyright: (c) 2013-2017 by Instabug, Inc., all rights reserved.
Version: 7.3.7
Version: 7.3.8
*/

#import <Foundation/Foundation.h>
Expand Down Expand Up @@ -865,12 +865,23 @@ OBJC_EXTERN void IBGLogError(NSString *format, ...) NS_FORMAT_FUNCTION(1, 2);
/**
@brief Used to reroute all your NSLogs to Instabug to be able to automatically include them with reports.
@discussion For details on how to reroute your NSLogs to Instabug, see http://docs.instabug.com/docs/logging
@discussion For details on how to reroute your NSLogs to Instabug, see https://docs.instabug.com/docs/ios-logging
@param format Format string.
@param args Arguments list.
*/
OBJC_EXTERN void IBGNSLog(NSString *format, va_list args);
OBJC_EXTERN void IBGNSLog(NSString *format, va_list args) DEPRECATED_MSG_ATTRIBUTE("Use IBGNSLogWithLevel instead");

/**
@brief Used to reroute all your NSLogs to Instabug with their log level to be able to automatically include them with reports.
@discussion For details on how to reroute your NSLogs to Instabug, see https://docs.instabug.com/docs/ios-logging
@param format Format string.
@param args Arguments list.
@param logLevel log level.
*/
OBJC_EXTERN void IBGNSLogWithLevel(NSString *format, va_list args, IBGLogLevel logLevel);

/**
@brief Adds custom logs that will be sent with each report. Logs are added with the debug log level.
Expand Down
Binary file modified ios/Instabug.framework/Info.plist
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGActionSheetCell.nib
Binary file not shown.
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGAttachmentButton.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGBugVC-iPhone.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGChatCell.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGChatVC-iPhone.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGChatsVC-iPhone.nib
Binary file not shown.
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGMessagesView.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGPoweredByView.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGPromptCell.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGPromptVC-iPhone.nib
Binary file not shown.
Binary file modified ios/Instabug.framework/Instabug.bundle/IBGReplyView-iPhone.nib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 3354233

Please sign in to comment.