Skip to content

Commit a627e98

Browse files
fix format
1 parent fe21f67 commit a627e98

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

examples/default/ios/Podfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2098,8 +2098,8 @@ SPEC CHECKSUMS:
20982098
RNSVG: 8b1a777d54096b8c2a0fd38fc9d5a454332bbb4d
20992099
RNVectorIcons: 6382277afab3c54658e9d555ee0faa7a37827136
21002100
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
2101-
Yoga: aa3df615739504eebb91925fc9c58b4922ea9a08
2101+
Yoga: 055f92ad73f8c8600a93f0e25ac0b2344c3b07e6
21022102

21032103
PODFILE CHECKSUM: 29f363f85c01e13c559723cad266922d16c81bc5
21042104

2105-
COCOAPODS: 1.15.2
2105+
COCOAPODS: 1.14.0

examples/default/src/App.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ export const App: React.FC = () => {
5454
debugLogsLevel: LogLevel.verbose,
5555
networkInterceptionMode: NetworkInterceptionMode.javascript,
5656
})
57-
.then(() => {
58-
// Post-initialization setup
59-
NetworkLogger.setNetworkDataObfuscationHandler(async (networkData) => {
60-
networkData.url = `${networkData.url}/JS/Obfuscated`;
61-
return networkData;
57+
.then(() => {
58+
// Post-initialization setup
59+
NetworkLogger.setNetworkDataObfuscationHandler(async (networkData) => {
60+
networkData.url = `${networkData.url}/JS/Obfuscated`;
61+
return networkData;
62+
});
63+
APM.setScreenRenderEnabled(true);
64+
setIsInstabugInitialized(true);
65+
})
66+
.catch((error) => {
67+
console.error('Instabug initialization failed:', error);
68+
setIsInstabugInitialized(true); // Proceed even if initialization fails
6269
});
63-
APM.setScreenRenderEnabled(true);
64-
setIsInstabugInitialized(true);
65-
})
66-
.catch((error) => {
67-
console.error('Instabug initialization failed:', error);
68-
setIsInstabugInitialized(true); // Proceed even if initialization fails
69-
});
7070

7171
// Synchronous configuration that doesn't depend on init completion
7272
CrashReporting.setNDKCrashesEnabled(true);
7373
Instabug.setReproStepsConfig({ all: ReproStepsMode.enabled });
74-
74+
7575
// Set initialized immediately to show UI - initialization continues in background
7676
setIsInstabugInitialized(true);
7777
};

0 commit comments

Comments
 (0)