getsentry / getsentry/sentry-java

Allow for Replay sessions over 60 minutes (or start a new session when 60m cap is hit)

Đang mở
#4,785 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Android Feature Replays
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

### Problem Statement

Opening based on a discussion with potential Sentry users:

Scenario:
- We want to capture continuous sessions on kiosk-style and handheld devices in our warehouse
- There are a relatively low number of devices and users of these apps compared to a consumer-facing app, so we would want to capture 100% of sessions
- There is a limit of 60 minutes per session with Android's Replay feature and a new session does not automatically start like it does on web Replay in [session mode](https://docs.sentry.io/platforms/javascript/guides/react/session-replay/understanding-sessions/#session-mode)

A current potential workaround for this is to automatically trigger a backgrounding and foregrounding of the app every 60 minutes to trigger the start of a new session, but it would be preferable to have this happen automatically and uninterrupted, without taking such an action.

### Solution Brainstorm

We could either allow for sessions over 60 minutes (devices are continuously on throughout the workday for a period of many hours), or automatically start new sessions when the 60 minute limit is hit.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.