Instabug / Instabug-React-Native

In-app feedback and bug reporting tool for React Native
https://instabug.com/platforms/react-native
MIT License
308 stars 100 forks source link

Background ANRs detected #1256

Closed krushita042023 closed 1 month ago

krushita042023 commented 2 months ago

After upgrading Instabug-reactnative 10.9.1 to 13.1.1 we get many ANR related to this SDK.

Instabug integration code

import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName } from './app.json';
import 'react-native-gesture-handler';
import Instabug, { BugReporting, InvocationEvent, InvocationOption, ReproStepsMode } from 'instabug-reactnative';

Instabug.init({
    token: APP_Token,
    invocationEvents: [InvocationEvent.shake],
});

BugReporting.setOptions([InvocationOption.commentFieldRequired]);
Instabug.setReproStepsConfig({
    bug: ReproStepsMode.enabled,
    crash: ReproStepsMode.enabled,
});
ReproStepsMode.enabled
Instabug.setTrackUserSteps(true);
Instabug.setSessionProfilerEnabled(true);
BugReporting.setViewHierarchyEnabled(true);

AppRegistry.registerComponent(appName, () => App);

SDK Version

"instabug-reactnative": "^13.1.1",

React Native, iOS and Android Versions

"react-native": "0.72.5",

image image

stale[bot] commented 2 months ago

This issue has been automatically marked as pending feedback because we need additional information to be able to investigate it further. It will be closed in 7 days if it remains inactive. Thank you for your contributions.

stale[bot] commented 1 month ago

This issue has been automatically closed since we haven't heard back from you. Please feel free to re-open the issue if you have more information to add.