sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Cache current network connection state

Open markushi opened this issue 1 year ago • 1 comments

Description

As a follow-up of https://github.com/getsentry/sentry-java/pull/4164 we want to cache the last known connection state, so calling AndroidConnectionStatusProvider.getConnectionStatus() returns a cached value.

markushi avatar Feb 24 '25 10:02 markushi

Let's have a closer look at our usage pattern. Maybe we could cache the last known connection state for a certain amount of time (e.g. 1 minute).

markushi avatar Feb 26 '25 10:02 markushi