0

I have implemented Instabug in my application from here and integrate it perfectly and its all functionalities are working perfectly other then shake event.

public class VapeMail extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Instabug.initialize(this, Constants.INSTABUG_ID)
                .setShowIntroDialog(true, MainActivity.class)
                .setInvocationEvent(Instabug.IBGInvocationEvent.IBGInvocationEventShake);
    }
}

I have checked all possibilities by changing thresh hold value but shaking option of instabug not responding any thing. Other then shaking all other events like IBGInvocationEventTwoFingersSwipeLeft and IBGInvocationEventFloatingButton are working and responding correctly but why the shaking event is not responding. I have followed all steps given on the website of instabug but nothing is happened when I shake my device. I checked my shake sensors also they are working perfectly.
Any help would be appreciable thanks.

Mohammad AbuShady
  • 40,884
  • 11
  • 78
  • 89
Furqan Ali
  • 137
  • 2
  • 13
  • 1
    This is Hassan from Instabug. Can you set Instabug.DEBUG = true; before initialization and attach the logs from logcat after shaking the device? You can also reach us at contactus@instabug.com – Hassan Ibraheem Jun 11 '15 at 12:51
  • Ok I tried again shaking is working but I have to shake very hard to show the dialogue. I need to know what should be the threshold value I should set to show response with little shaking. thanks – Furqan Ali Jun 11 '15 at 13:04
  • 4
    The default value should be easy to invoke, but not too easy to invoke by accident. If that's not the case, what device are you testing with? You could try setting the threshold to a low value, to increase sensitivity, with setShakingThreshold(0.001f). This value should make it highly sensitive though. – Hassan Ibraheem Jun 11 '15 at 13:14
  • unfortunately, `setShakingThreshold(0.001f)` is deprecated. Any other method I can use? – Dr4ke the b4dass Jun 17 '18 at 04:39

1 Answers1

1

There is no conflict in the documents. It is all about which SDK version that's being used. I recommend that you use the latest version. Here is the latest documentation.

You can talk to Instabug team anytime from here, and they will always help.