Skip to content

Commit dc3cc97

Browse files
chore: [revert] network spans and screenshot auto masking (#1374)
* chore: Revert network spans * fix: use ios 14.3.0 * fix: sync pod file * Revert "Merge pull request #1353 from Instabug/feat/Auto-masking-screenshots-in-RN" This reverts commit c116eae, reversing changes made to 0523b05. * fix: fix linting * fix: revert android
1 parent 624fed3 commit dc3cc97

Some content is hidden

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

43 files changed

+149
-2293
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212

1313
- Bump Instabug iOS SDK to v14.3.0 ([#1367](https://github.com/Instabug/Instabug-React-Native/pull/1367)). [See release notes](https://github.com/Instabug/Instabug-iOS/releases/tag/14.3.0).
1414

15-
### Added
16-
17-
- Add support for Network Spans in network logging module ([#1360](https://github.com/Instabug/Instabug-React-Native/pull/1360)).
18-
1915
## [14.1.0](https://github.com/Instabug/Instabug-React-Native/compare/v14.0.0...v14.1.0) (January 2, 2025)
2016

2117
### Added

RNInstabug.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Pod::Spec.new do |s|
1616
s.source_files = "ios/**/*.{h,m,mm}"
1717

1818
s.dependency 'React-Core'
19-
# use_instabug!(s)
20-
s.dependency 'Instabug'
19+
use_instabug!(s)
2120

2221
end

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import com.instabug.library.invocation.util.InstabugVideoRecordingButtonPosition;
1818
import com.instabug.library.sessionreplay.model.SessionMetadata;
1919
import com.instabug.library.ui.onboarding.WelcomeMessage;
20-
import com.instabug.library.MaskingType;
2120

2221
import java.util.ArrayList;
2322
import java.util.HashMap;
@@ -61,7 +60,6 @@ static Map<String, Object> getAll() {
6160
putAll(locales);
6261
putAll(placeholders);
6362
putAll(launchType);
64-
putAll(autoMaskingTypes);
6563
}};
6664
}
6765

@@ -255,10 +253,5 @@ static Map<String, Object> getAll() {
255253
put(SessionMetadata.LaunchType.COLD,"cold");
256254
put(SessionMetadata.LaunchType.WARM,"warm" );
257255
}};
258-
public static final ArgsMap<Integer> autoMaskingTypes = new ArgsMap<Integer>() {{
259-
put("labels", MaskingType.LABELS);
260-
put("textInputs", MaskingType.TEXT_INPUTS);
261-
put("media", MaskingType.MEDIA);
262-
put("none", MaskingType.MASK_NOTHING);
263-
}};
256+
264257
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ final class Constants {
1010
final static String IBG_ON_NEW_MESSAGE_HANDLER = "IBGonNewMessageHandler";
1111
final static String IBG_ON_NEW_REPLY_RECEIVED_CALLBACK = "IBGOnNewReplyReceivedCallback";
1212

13-
final static String IBG_ON_FEATURES_UPDATED_CALLBACK = "IBGOnFeatureUpdatedCallback";
14-
final static String IBG_NETWORK_LOGGER_HANDLER = "IBGNetworkLoggerHandler";
15-
1613
final static String IBG_ON_NEW_W3C_FLAGS_UPDATE_RECEIVED_CALLBACK = "IBGOnNewW3CFlagsUpdateReceivedCallback";
1714

1815
final static String IBG_SESSION_REPLAY_ON_SYNC_CALLBACK_INVOCATION = "IBGSessionReplayOnSyncCallback";

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

Lines changed: 0 additions & 195 deletions
This file was deleted.

0 commit comments

Comments
 (0)