Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sigaretaa opened this issue Jan 22, 2024 · 3 comments
Open

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

sigaretaa opened this issue Jan 22, 2024 · 3 comments

Comments

@sigaretaa
Copy link

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

@Bashayer-reda
Copy link

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 contactus@instabug.com so that we can further investigate this issue?

@Jafar-Al-Rashid
Copy link

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.

@MohamedHefny
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants