Instabug-Android icon indicating copy to clipboard operation
Instabug-Android copied to clipboard

Instabug is not responding to BugReporting.show() or Shake event

Open sigaretaa opened this issue 1 year ago • 3 comments

Steps to Reproduce the Problem

create new instance in app onCreate method. new Instabug.Builder(this, "KEY").build();

Then call BugReporting.show(BugReporting.ReportType.BUG) (or Instabug.show()) from some fragment. (Both options are called from the main thread)

Expected Behavior

An Instabug bug report dialog will appear every time

Actual Behavior

The bug report dialog appears only in first app session, after installation (or clear app cache), but once, the app is destroyed by system or user, the dialog won't appear anymore in next sessions (yep, almost the same as for... ) and no matter how we try to call it, through .show() or shake.

Instabug integration code

        new Instabug.Builder(this, 'KEY')
                .setInvocationEvents(InstabugInvocationEvent.NONE/(SHAKE for debugging purposes))
                .build();

ReproConfigurations config = new ReproConfigurations.Builder()
 .setIssueMode(IssueType.All, ReproMode.EnableWithScreenshots).build();
Instabug.setReproConfigurations(config);
Instabug.setWelcomeMessageState(WelcomeMessage.State.DISABLED);
Instabug.onReportSubmitHandler(report -> {...})

SDK Version

12.5.1 and 12.6.0

Android Version

11, 13, 14

Device Model

Realme 6i, Galaxy S21, Galaxy S22

sigaretaa avatar Jan 22 '24 19:01 sigaretaa

Hello, @sigaretaa thank you so much for reaching out, We will need more info about your account so, Would you be able to reach out to our support team using [email protected] so that we can further investigate this issue?

Bashayer-reda avatar Jan 23 '24 09:01 Bashayer-reda

Hi team, we are also having the same issue. This issue exists on 12.7.0 as well.

We have tested this on a number of devices and OS versions and we are able to recreate the issue easily.

Jafar-Al-Rashid avatar Feb 15 '24 03:02 Jafar-Al-Rashid

Hello @Jafar-Al-Rashid 👋🏻 Thanks for reaching out, please reach out to our support team via [email protected] so we can get more info about your account and further investigate this issue 🙏🏻

MohamedHefny avatar Feb 20 '24 16:02 MohamedHefny