Skip to content

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

Open
@sigaretaa

Description

@sigaretaa

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions