0

In my onCreate method, I've initialized Instabug following the steps on the official docs. If I invoke Instabug, it is never destroyed, even after my app is. The dialog appears and whether or not I submit a bug, I can see a separate Instabug activity exists on my phone's activity stack. If I close out my application, the Instabug instance still exists. How can I destroy the Instabug instance?

Md. Sabbir Ahmed
  • 850
  • 8
  • 22

1 Answers1

0

First of all, I think you need to read more about Life Cycle.

What happened, that you started the Instabug functionalities at the beginning of your app launch. When you click the home-page button, it put your app to the recent apps (Running in the background), thus, the Instabug functionality still exist and running [Until you remove the app from recent app of-course].

So, You need to disable() your app Instabug functionality once needed, and enable() it again if needed.

Ibrahim Ali
  • 1,237
  • 9
  • 20