Skip to content

Commit 4d0137c

Browse files
committed
💎 Bump version to 8.0.4
2 parents a60e694 + e6fe738 commit 4d0137c

File tree

115 files changed

+1247
-1457
lines changed

Some content is hidden

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

115 files changed

+1247
-1457
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import com.facebook.react.modules.core.DeviceEventManagerModule;
2323
import com.instabug.bug.BugReporting;
2424
import com.instabug.bug.PromptOption;
25+
import com.instabug.bug.instabugdisclaimer.Internal;
2526
import com.instabug.bug.invocation.InvocationMode;
2627
import com.instabug.bug.invocation.InvocationOption;
2728
import com.instabug.crash.CrashReporting;
@@ -1740,6 +1741,25 @@ public void getAvailableSurveys(Callback availableSurveysCallback) {
17401741

17411742
}
17421743

1744+
@ReactMethod
1745+
public void callPrivateApi(String apiName, String param) {
1746+
try {
1747+
if (param == null) {
1748+
Method m = Internal.class.getDeclaredMethod(apiName);
1749+
m.setAccessible(true);
1750+
m.invoke(null);
1751+
} else {
1752+
Method m = Internal.class.getDeclaredMethod(apiName, param.getClass());
1753+
m.setAccessible(true);
1754+
m.invoke(null, param);
1755+
}
1756+
1757+
} catch (Exception e) {
1758+
e.printStackTrace();
1759+
}
1760+
}
1761+
1762+
17431763

17441764
private static WritableMap convertJsonToMap(JSONObject jsonObject) throws JSONException {
17451765
WritableMap map = new WritableNativeMap();

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,10 @@ const InstabugModule = {
10911091
Instabug.setWelcomeMessageMode(welcomeMessageMode);
10921092
},
10931093

1094+
callPrivateApi: function(apiName, param) {
1095+
Instabug.callPrivateApi(apiName, param);
1096+
},
1097+
10941098
/**
10951099
* The event used to invoke the feedback form
10961100
* @readonly

ios/Instabug.framework/Headers/IBGBugReporting.h

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
11-
#import <InstabugCore/IBGTypes.h>
10+
#import "IBGTypes.h"
1211

1312
NS_SWIFT_NAME(BugReporting)
1413
@interface IBGBugReporting : NSObject
@@ -118,6 +117,14 @@ NS_SWIFT_NAME(BugReporting)
118117
*/
119118
@property(class, atomic, assign) IBGBugReportingInvocationOption invocationOptions;
120119

120+
121+
/**
122+
@brief Sets the default position at which the Instabug screen recording button will be shown. Different orientations are already handled.
123+
124+
@discussion Default for `position` is `bottomRight`.
125+
*/
126+
@property(class, atomic, assign) IBGPosition videoRecordingFloatingButtonPosition;
127+
121128
/**
122129
@brief Invokes the SDK manually with the default invocation mode.
123130

ios/Instabug.framework/Headers/IBGFeatureRequests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
10+
#import "IBGTypes.h"
1111

1212
NS_SWIFT_NAME(FeatureRequests)
1313
@interface IBGFeatureRequests : NSObject

ios/Instabug.framework/Headers/IBGLog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <Foundation/Foundation.h>
10-
#import <InstabugCore/InstabugCore.h>
10+
#import "InstabugCore.h"
1111

1212
@interface IBGLog : NSObject
1313

ios/InstabugCore.framework/Headers/IBGNetworkLogger.h renamed to ios/Instabug.framework/Headers/IBGNetworkLogger.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ NS_SWIFT_NAME(NetworkLogger)
1414

1515
@property (class, atomic, assign) BOOL enabled;
1616

17-
/* CHECK NULLABILITY! */
18-
typedef void (^NetworkObfuscationCompletionBlock)(NSData * _Nullable data, NSURLResponse * _Nonnull response);
19-
20-
2117
/**
2218
@brief Enable logging for network requests and responses on a custom NSURLSessionConfiguration.
2319

ios/InstabugCore.framework/Headers/IBGTypes.h renamed to ios/Instabug.framework/Headers/IBGTypes.h

Lines changed: 4 additions & 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.2
8+
Version: 0.0.0
99
*/
1010

1111
#import <UIKit/UIKit.h>
@@ -480,6 +480,9 @@ typedef NS_ENUM(NSInteger, IBGWelcomeMessageMode) {
480480
IBGWelcomeMessageModeDisabled
481481
};
482482

483+
/* CHECK NULLABILITY! */
484+
typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *response);
485+
483486
@interface UIView (Instabug)
484487

485488
/**

ios/Instabug.framework/Headers/Instabug.h

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

1111
#import <Foundation/Foundation.h>
1212
#import <UIKit/UIKit.h>
13-
#import <InstabugCore/InstabugCore.h>
14-
#import <InstabugCore/IBGNetworkLogger.h>
15-
#import <InstabugCore/IBGReport.h>
13+
#import "InstabugCore.h"
14+
#import "IBGNetworkLogger.h"
15+
#import "IBGReport.h"
1616
#import "IBGLog.h"
1717
#import "IBGBugReporting.h"
1818
#import "IBGCrashReporting.h"
@@ -28,9 +28,6 @@ NS_ASSUME_NONNULL_BEGIN
2828

2929
@interface Instabug : NSObject
3030

31-
typedef void (^NetworkObfuscationCompletionBlock)(NSData *data, NSURLResponse *response);
32-
33-
3431
/**
3532
@brief Sets whether the SDK is recording the screen or not.
3633

ios/InstabugCore.framework/Headers/InstabugCore.h renamed to ios/Instabug.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.2
8+
Version: 0.0.0
99
*/
1010

1111
#import <Foundation/Foundation.h>

ios/Instabug.framework/Info.plist

-226 Bytes
Binary file not shown.

ios/Instabug.framework/Instabug

27.4 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

ios/InstabugCore.framework/Instabug_dsym_upload.sh renamed to ios/Instabug.framework/InstabugResources.bundle/Instabug_dsym_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ do
106106
fi
107107
done
108108

109-
if [ -z $DSYM_UUIDs ]; then
109+
if [ -z "$DSYM_UUIDs" ]; then
110110
rm -rf "${DSYMS_DIR}"
111111
exit 0
112112
fi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)