Skip to content

Commit b23e0a9

Browse files
chore: apply PR comments
1 parent f64108d commit b23e0a9

File tree

4 files changed

+2
-14
lines changed

4 files changed

+2
-14
lines changed

examples/default/android/app/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ def reactNativeArchitectures() {
9898

9999
instabug {
100100
apm {
101-
// networkEnabled = true
102-
// debugEnabled = true
101+
networkEnabled = true
103102
}
104103
}
105104
android {

examples/default/android/app/src/main/res/xml/network_security_config.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,4 @@
1212
<certificates src="user" />
1313
</trust-anchors>
1414
</base-config>
15-
16-
<debug-overrides>
17-
<trust-anchors>
18-
<!-- Trust user added CAs while debuggable only -->
19-
<certificates src="user" />
20-
<certificates src="system" />
21-
</trust-anchors>
22-
</debug-overrides>
2315
</network-security-config>

examples/default/src/App.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { RootTabNavigator } from './navigation/RootTab';
1616
import { nativeBaseTheme } from './theme/nativeBaseTheme';
1717
import { navigationTheme } from './theme/navigationTheme';
1818

19-
// import { QueryClient } from 'react-query';
2019
import { QueryClient, QueryClientProvider } from 'react-query';
2120

2221
const queryClient = new QueryClient();
@@ -26,7 +25,6 @@ const queryClient = new QueryClient();
2625
export const App: React.FC = () => {
2726
useEffect(() => {
2827
Instabug.init({
29-
// token: 'deb1910a7342814af4e4c9210c786f35',
3028
token: '0fcc87b8bf731164828cc411eccc802a',
3129
invocationEvents: [InvocationEvent.floatingButton],
3230
debugLogsLevel: LogLevel.verbose,

src/modules/Instabug.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ import type { ReproConfig } from '../models/ReproConfig';
3636
import type { FeatureFlag } from '../models/FeatureFlag';
3737
import { addAppStateListener } from '../utils/AppStatesHandler';
3838
import InstabugConstants from '../utils/InstabugConstants';
39-
import instabugConstants from '../utils/InstabugConstants';
4039
import { NativeNetworkLogger } from '../native/NativeNetworkLogger';
4140

4241
let _currentScreen: string | null = null;
@@ -241,7 +240,7 @@ const checkNativeInterceptionForIOS = (config: InstabugConfig) => {
241240
shouldEnableNativeInterception = false;
242241
NetworkLogger.setEnabled(true); // rollback to JS interceptor
243242
console.error(
244-
InstabugConstants.IBG_APM_TAG + instabugConstants.NATIVE_INTERCEPTION_DISABLED_MESSAGE,
243+
InstabugConstants.IBG_APM_TAG + InstabugConstants.NATIVE_INTERCEPTION_DISABLED_MESSAGE,
245244
);
246245
}
247246
}

0 commit comments

Comments
 (0)