launchdarkly / android-client-sdk

LaunchDarkly Client-side SDK for Android
Other
45 stars 23 forks source link

The SDK does not detect a foreground service as running in the foreground #131

Open StillLynnTheCloset opened 3 years ago

StillLynnTheCloset commented 3 years ago

Describe the bug When attempting to use the SDK from a service that is running in the foreground, it uses the "Background Polling" connection mode

To reproduce

Expected behavior When running in a foreground service the SDK should use the real-time streaming connection mode.

SDK version 3.0.0

OS/platform Android 10

gwhelanLD commented 3 years ago

Hi @StillLynnTheCloset,

Thanks for reporting this issue. We've added this to our internal backlog to investigate.

Thanks, @gwhelanLD

louis-launchdarkly commented 2 years ago

Was filed internally as 112247.

tanderson-ld commented 1 year ago

This issue has been tracked internally in our back log and so we are closing this issue here on Github. Thank you for your report!