File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ android {
29
29
dependencies {
30
30
implementation ' com.android.support:multidex:1.0.3'
31
31
implementation ' com.facebook.react:react-native:+'
32
- api(' com.instabug.library:instabug:9.0.5.0 ' ) {
32
+ api(' com.instabug.library:instabug:9.0.5.3 ' ) {
33
33
exclude group : ' com.android.support:appcompat-v7'
34
34
}
35
35
testImplementation ' org.mockito:mockito-core:1.10.19'
Original file line number Diff line number Diff line change @@ -2234,7 +2234,11 @@ public void execute(NativeViewHierarchyManager nativeViewHierarchyManager) {
2234
2234
final View [] arrayOfViews = new View [ids .size ()];
2235
2235
for (int i = 0 ; i < ids .size (); i ++) {
2236
2236
int viewId = (int ) ids .getDouble (i );
2237
- arrayOfViews [i ] = nativeViewHierarchyManager .resolveView (viewId );
2237
+ try {
2238
+ arrayOfViews [i ] = nativeViewHierarchyManager .resolveView (viewId );
2239
+ } catch (Exception e ) {
2240
+ e .printStackTrace ();
2241
+ }
2238
2242
}
2239
2243
Instabug .setViewsAsPrivate (arrayOfViews );
2240
2244
}
You can’t perform that action at this time.
0 commit comments