Skip to main content

Session data

Each session carries a lightweight snapshot of the device it ran on.

You're viewing the Android docs. Other platforms →   iOS  React Native  Flutter  Web 

What's included​

Every session sent to Shake includes:

  • Device model
  • OS version
  • Locale
  • Timezone
  • App version
  • Device orientation
  • Screen width and height
  • Network type
  • Auth state (whether the device has a lock screen secured)

App version is pulled automatically from your project's configuration — you don't need to set it manually.

If you've set any custom key-value data with Shake.setMetadata, it's included as well.

note

This is a lighter snapshot than the one attached to bug reports — it doesn't include battery, memory, disk space, or permissions. Those are only collected when a user actually submits a ticket.

Crash detection​

If your app crashes, Shake records that the session ended in a crash. This happens automatically and runs independently of Shake.setCrashReportingEnabled — it's used purely to mark the session's end reason, not to generate a crash report.

Because crashes tend to happen moments after launch, a session that ended in a crash is reported even when it was shorter than the 5-second minimum that normally applies.