Pregunta

I am using Crittercism for Crash Reporting in my android app. The prob. is that am not able to figure out the way of finding device orientation on Crittercism web portal.

They must provide tutorial about how to use a feature. As their use base is not vast enough yet, hence rare chance of getting support on SO.

¿Fue útil?

Solución

There is one way of getting device orientation by using Crittercism's Breadcrumbs, together with a call to display.getRotation().

This is a bit limited since you have to know approximately when in your code you would like to know the orientation, but it might help if you're narrowing down what triggers a bug, e.g. during development.

It looks like this information is actually already available in all crittercism crash reports:

  1. Select the crash report you're interested in.
  2. Go to the Diagnostics tab
  3. Here you can find a breakdown of when that crash occurred under different conditions. Orientation is one of the conditions. There is also status bar orientation, along with a bunch of other info.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top