-
-
Notifications
You must be signed in to change notification settings - Fork 354
Closed
Labels
Description
Description
When I enable Don't keep activities in the Android Developer menu (simulates behavior of low memory when the system will close the activity, but keeps the app process), the ReactNavigationIntegration stops creating spans after reopening the application.
Related to
sentry-react-native/packages/core/src/js/tracing/reactnavigation.ts
Lines 137 to 146 in 6496212
| /* We prevent duplicate routing instrumentation to be initialized on fast refreshes | |
| Explanation: If the user triggers a fast refresh on the file that the instrumentation is | |
| initialized in, it will initialize a new instance and will cause undefined behavior. | |
| */ | |
| if (RN_GLOBAL_OBJ.__sentry_rn_v5_registered) { | |
| logger.log( | |
| `${INTEGRATION_NAME} Instrumentation already exists, but register has been called again, doing nothing.`, | |
| ); | |
| return undefined; |
Metadata
Metadata
Assignees
Labels
Projects
Status
In Progress